unzip: replace name with pname&version
This commit is contained in:
parent
1321a0b86c
commit
bd4653e232
1 changed files with 4 additions and 3 deletions
|
@ -3,11 +3,12 @@
|
|||
, enableNLS ? false, libnatspec
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "unzip-6.0";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "unzip";
|
||||
version = "6.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/infozip/unzip60.tar.gz";
|
||||
url = "mirror://sourceforge/infozip/unzip${lib.replaceStrings ["."] [""] version}.tar.gz";
|
||||
sha256 = "0dxx11knh3nk95p2gg2ak777dd11pr7jx5das2g49l262scrcv83";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue