nixpkgs/pkgs/development/libraries/libdivecomputer/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

21 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;
};
}