2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2016-11-10 11:46:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libdivecomputer";
|
2018-01-27 11:22:47 +00:00
|
|
|
version = "0.6.0";
|
2016-11-10 11:46:49 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://www.libdivecomputer.org/releases/${pname}-${version}.tar.gz";
|
2018-01-27 11:22:47 +00:00
|
|
|
sha256 = "0nm1mcscpxb9dv4p0lidd6rf5xg4vmcbigj6zqxvgn7pwnvpbzm0";
|
2016-11-10 11:46:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.libdivecomputer.org";
|
2016-11-10 11:46:49 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|