about summary refs log tree commit diff
path: root/pkgs/development/libraries/libdivecomputer/subsurface.nix
blob: 5840ea2ef85edd48d1a1be9fc2485e5d687648ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
  };
}