libdivecomputer: add subsurface version

Signed-off-by: Maximilian Güntner <code@klandest.in>
This commit is contained in:
Maximilian Güntner 2017-01-03 15:43:51 +01:00
parent 85ff5a2583
commit 7e87be4055
No known key found for this signature in database
GPG key ID: 96126664034A9D85
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ stdenv, fetchgit, autoreconfHook }:
stdenv.mkDerivation rec {
name = "libdivecomputer-${version}";
version = "ssrf-0.5.0";
src = fetchgit {
url = "git://subsurface-divelog.org/libdc";
rev = "534dd2f34b8271b2a1cac0e3151bfdc81da40e47";
branchName = "Subsurface-branch";
sha256 = "0iw9pczmwqlfjlgrik79b2pd4lmipxhjzj60ysk8qzl3axadjycp";
};
nativeBuildInputs = [ autoreconfHook ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = http://www.libdivecomputer.org;
description = "A cross-platform and open source library for communication with dive computers from various manufacturers";
maintainers = [ maintainers.mguentner ];
license = licenses.lgpl21;
platforms = platforms.all;
};
}

View file

@ -7844,6 +7844,8 @@ in
libdivecomputer = callPackage ../development/libraries/libdivecomputer { };
libdivecomputer_ssrf = callPackage ../development/libraries/libdivecomputer/subsurface.nix { };
libdivsufsort = callPackage ../development/libraries/libdivsufsort { };
libdmtx = callPackage ../development/libraries/libdmtx { };