1{ lib, stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 pname = "libdivecomputer";
5 version = "0.7.0";
6
7 src = fetchurl {
8 url = "https://www.libdivecomputer.org/releases/${pname}-${version}.tar.gz";
9 sha256 = "sha256-gNnxlOokUCA535hZhILgr8aw4zPeeds0wpstaJNNJbk=";
10 };
11
12 enableParallelBuilding = true;
13
14 meta = with lib; {
15 homepage = "http://www.libdivecomputer.org";
16 description = "A cross-platform and open source library for communication with dive computers from various manufacturers";
17 maintainers = [ maintainers.mguentner ];
18 license = licenses.lgpl21;
19 platforms = platforms.all;
20 };
21}