diff options
author | Felix Buehler <account@buehler.rocks> | 2021-08-12 20:41:54 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-08-12 20:41:54 +0200 |
commit | 63c0bce35987124d646bcf0896864e63e01b75d1 (patch) | |
tree | cc2ac88012d3698c9c36fc3b94c746288158b2df /pkgs/tools/graphics/pngcrush | |
parent | 6dfd25fdc4fbbde2b13d3140287cee04f5e9e483 (diff) |
tools/graphics: replace name with pname&version
Diffstat (limited to 'pkgs/tools/graphics/pngcrush')
-rw-r--r-- | pkgs/tools/graphics/pngcrush/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/graphics/pngcrush/default.nix b/pkgs/tools/graphics/pngcrush/default.nix index 18a156ea504bd..16c710ceb79f6 100644 --- a/pkgs/tools/graphics/pngcrush/default.nix +++ b/pkgs/tools/graphics/pngcrush/default.nix @@ -1,10 +1,11 @@ { lib, stdenv, fetchurl, libpng }: stdenv.mkDerivation rec { - name = "pngcrush-1.8.13"; + pname = "pngcrush"; + version = "1.8.13"; src = fetchurl { - url = "mirror://sourceforge/pmt/${name}-nolib.tar.xz"; + url = "mirror://sourceforge/pmt/pngcrush-${version}-nolib.tar.xz"; sha256 = "0l43c59d6v9l0g07z3q3ywhb8xb3vz74llv3mna0izk9bj6aqkiv"; }; |