Adding lrzip and rzip.

svn path=/nixpkgs/trunk/; revision=14581
This commit is contained in:
Lluís Batlle i Rossell 2009-03-17 21:17:51 +00:00
parent 1dada801c7
commit 7fd91b8736
3 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{stdenv, fetchurl, zlib, lzo, bzip2, nasm}:
stdenv.mkDerivation {
name = "lrzip-0.23";
src = fetchurl {
url = http://ck.kolivas.org/apps/lrzip/lrzip-0.23.tar.bz2;
sha256 = "52514a46228266230760fe8f7da9dd669b4c82160e9c238f029cd535d0988065";
};
NIX_CFLAGS_COMPILE = "-isystem ${zlib}/include";
buildInputs = [ zlib lzo bzip2 nasm ];
meta = {
homepage = http://ck.kolivas.org/apps/lrzip/;
description = "The CK LRZIP compression program (LZMA + RZIP)";
license = "GPLv2+";
};
}

View file

@ -0,0 +1,16 @@
{stdenv, fetchurl, bzip2}:
stdenv.mkDerivation {
name = "rzip-2.1";
src = fetchurl {
url = http://rzip.samba.org/ftp/rzip/rzip-2.1.tar.gz;
sha256 = "4bb96f4d58ccf16749ed3f836957ce97dbcff3e3ee5fd50266229a48f89815b7";
};
buildInputs = [ bzip2 ];
meta = {
homepage = http://rzip.samba.org/;
description = "The RZIP compression program";
license = "GPLv2+";
};
}

View file

@ -902,6 +902,10 @@ let
inherit fetchurl stdenv ghostscript;
};
lrzip = import ../tools/compression/lrzip {
inherit fetchurl stdenv zlib lzo bzip2 nasm;
};
lzma = import ../tools/compression/lzma {
inherit fetchurl stdenv;
};
@ -1142,6 +1146,10 @@ let
inherit fetchurl stdenv;
};
rzip = import ../tools/compression/rzip {
inherit fetchurl stdenv bzip2;
};
sablotron = import ../tools/text/xml/sablotron {
inherit fetchurl stdenv expat;
};