diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2005-04-11 08:26:36 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2005-04-11 08:26:36 +0000 |
commit | 1af17b9d7ff154bb65f15905c9e4c8a7a427aa00 (patch) | |
tree | dbc564bc76ed4d22d6f3cb4dd3b37cb1e14e85d3 /pkgs/tools/archivers/unzip | |
parent | d8a0bdebf2e20d10f859a21004e16589d086974c (diff) | |
download | nixpkgs-1af17b9d7ff154bb65f15905c9e4c8a7a427aa00.tar nixpkgs-1af17b9d7ff154bb65f15905c9e4c8a7a427aa00.tar.gz nixpkgs-1af17b9d7ff154bb65f15905c9e4c8a7a427aa00.tar.bz2 nixpkgs-1af17b9d7ff154bb65f15905c9e4c8a7a427aa00.tar.lz nixpkgs-1af17b9d7ff154bb65f15905c9e4c8a7a427aa00.tar.xz nixpkgs-1af17b9d7ff154bb65f15905c9e4c8a7a427aa00.tar.zst nixpkgs-1af17b9d7ff154bb65f15905c9e4c8a7a427aa00.zip |
* Rename new unzip.
svn path=/nixpkgs/trunk/; revision=2515
Diffstat (limited to 'pkgs/tools/archivers/unzip')
-rw-r--r-- | pkgs/tools/archivers/unzip/builder.sh | 14 | ||||
-rw-r--r-- | pkgs/tools/archivers/unzip/default.nix | 10 |
2 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/archivers/unzip/builder.sh b/pkgs/tools/archivers/unzip/builder.sh new file mode 100644 index 00000000000..0166eecce6b --- /dev/null +++ b/pkgs/tools/archivers/unzip/builder.sh @@ -0,0 +1,14 @@ +. $stdenv/setup + +builder() { + make -f unix/Makefile generic +} + +installer() { + make -f unix/Makefile prefix=$out install +} + +buildPhase=builder +installPhase=installer + +genericBuild diff --git a/pkgs/tools/archivers/unzip/default.nix b/pkgs/tools/archivers/unzip/default.nix new file mode 100644 index 00000000000..b7114e190bf --- /dev/null +++ b/pkgs/tools/archivers/unzip/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "unzip-5.52"; + builder = ./builder.sh; + src = fetchurl { + url = http://ftp.info-zip.org/pub/infozip/src/unzip552.tar.gz; + md5 = "9d23919999d6eac9217d1f41472034a9"; + }; +} |