* Added unzip.
svn path=/nixpkgs/trunk/; revision=541
This commit is contained in:
commit
7953d11e3a
8
pkgs/tools/archivers/unzip/builder.sh
Executable file
8
pkgs/tools/archivers/unzip/builder.sh
Executable file
|
@ -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
|
10
pkgs/tools/archivers/unzip/default.nix
Normal file
10
pkgs/tools/archivers/unzip/default.nix
Normal file
|
@ -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…
Reference in a new issue