depot/pkgs/by-name/li/libdivecomputer/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
650 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "libdivecomputer";
version = "0.8.0";
src = fetchurl {
url = "https://www.libdivecomputer.org/releases/${pname}-${version}.tar.gz";
sha256 = "sha256-J17M55I2RO1YH6q53LTxpprSUbzrByHE5fhftjFheg4=";
};
enableParallelBuilding = true;
meta = with lib; {
homepage = "http://www.libdivecomputer.org";
description = "Cross-platform and open source library for communication with dive computers from various manufacturers";
mainProgram = "dctool";
maintainers = [ maintainers.mguentner ];
license = licenses.lgpl21;
platforms = platforms.all;
};
}