nixpkgs-suyu/pkgs/development/libraries/libsrs2/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

18 lines
509 B
Nix

{ stdenv, lib, fetchurl }:
stdenv.mkDerivation rec {
pname = "libsrs2";
version = "1.0.18";
src = fetchurl {
url = "https://www.libsrs2.org/srs/libsrs2-${version}.tar.gz";
sha256 = "9d1191b705d7587a5886736899001d04168392bbb6ed6345a057ade50943a492";
};
meta = {
description = "The next generation SRS library from the original designer of SRS";
license = with lib.licenses; [ gpl2 bsd3 ];
homepage = https://www.libsrs2.org/;
platforms = stdenv.lib.platforms.linux;
};
}