zip: replace name with pname&version
This commit is contained in:
parent
1321a0b86c
commit
3acf13c44c
@ -2,12 +2,13 @@
|
||||
|
||||
assert enableNLS -> libnatspec != null;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "zip-3.0";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zip";
|
||||
version = "3.0";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"ftp://ftp.info-zip.org/pub/infozip/src/zip30.tgz"
|
||||
"ftp://ftp.info-zip.org/pub/infozip/src/zip${lib.replaceStrings ["."] [""] version}.tgz"
|
||||
"https://src.fedoraproject.org/repo/pkgs/zip/zip30.tar.gz/7b74551e63f8ee6aab6fbc86676c0d37/zip30.tar.gz"
|
||||
];
|
||||
sha256 = "0sb3h3067pzf3a7mlxn1hikpcjrsvycjcnj9hl9b1c3ykcgvps7h";
|
||||
|
Loading…
Reference in New Issue
Block a user