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