* Added unzip.

svn path=/nixpkgs/trunk/; revision=541
wip/yesman
Eelco Dolstra 21 years ago
commit 7953d11e3a
  1. 8
      pkgs/tools/archivers/unzip/builder.sh
  2. 10
      pkgs/tools/archivers/unzip/default.nix

@ -0,0 +1,8 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd unzip-* || exit 1
make -f unix/Makefile generic || exit 1
make -f unix/Makefile prefix=$out install || exit 1

@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation {
name = "unzip-5.50";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.info-zip.org/pub/infozip/src/unzip550.tar.gz;
md5 = "798592d62e37f92571184236947122ed";
};
stdenv = stdenv;
}
Loading…
Cancel
Save