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/optipng/default.nix | |
parent | 6dfd25fdc4fbbde2b13d3140287cee04f5e9e483 (diff) |
tools/graphics: replace name with pname&version
Diffstat (limited to 'pkgs/tools/graphics/optipng/default.nix')
-rw-r--r-- | pkgs/tools/graphics/optipng/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/graphics/optipng/default.nix b/pkgs/tools/graphics/optipng/default.nix index 72caf6f86aecd..65ebd8ddbd12c 100644 --- a/pkgs/tools/graphics/optipng/default.nix +++ b/pkgs/tools/graphics/optipng/default.nix @@ -7,10 +7,11 @@ with lib; stdenv.mkDerivation rec { - name = "optipng-0.7.7"; + pname = "optipng"; + version = "0.7.7"; src = fetchurl { - url = "mirror://sourceforge/optipng/${name}.tar.gz"; + url = "mirror://sourceforge/optipng/optipng-${version}.tar.gz"; sha256 = "0lj4clb851fzpaq446wgj0sfy922zs5l5misbpwv6w7qrqrz4cjg"; }; |