* Added zdelta 2.1.
svn path=/nixpkgs/trunk/; revision=1817
This commit is contained in:
parent
d6841ce1fb
commit
9ebbbd25cc
|
@ -102,6 +102,10 @@ rec {
|
|||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
zdelta = (import ../tools/compression/zdelta) {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
which = (import ../tools/system/which) {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
|
|
@ -14,6 +14,7 @@ let {
|
|||
unzip
|
||||
gzip
|
||||
bzip2
|
||||
zdelta
|
||||
wget
|
||||
par2cmdline
|
||||
cksfv
|
||||
|
|
9
pkgs/tools/compression/zdelta/builder.sh
Normal file
9
pkgs/tools/compression/zdelta/builder.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
. $stdenv/setup
|
||||
|
||||
installPhase=installPhase
|
||||
installPhase() {
|
||||
ensureDir $out/bin
|
||||
cp -p zdc zdu $out/bin
|
||||
}
|
||||
|
||||
genericBuild
|
10
pkgs/tools/compression/zdelta/default.nix
Normal file
10
pkgs/tools/compression/zdelta/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "zdelta-2.1";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://cis.poly.edu/zdelta/downloads/zdelta-2.1.tar.gz;
|
||||
md5 = "c69583a64f42f69a39e297d0d27d77e5";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user