mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
22 lines
625 B
Nix
22 lines
625 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libdivecomputer";
|
|
version = "0.6.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.libdivecomputer.org/releases/${pname}-${version}.tar.gz";
|
|
sha256 = "0nm1mcscpxb9dv4p0lidd6rf5xg4vmcbigj6zqxvgn7pwnvpbzm0";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|