* Added IO::Compress::Bzip2.

svn path=/nixpkgs/trunk/; revision=14306
This commit is contained in:
Eelco Dolstra 2009-03-03 10:36:29 +00:00
parent 2c0558e11c
commit 9efba4b3b0
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,15 @@
{fetchurl, buildPerlPackage, bzip2}:
buildPerlPackage rec {
name = "Compress-Raw-Bzip2-2.015";
src = fetchurl {
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
sha256 = "0rc49w7i552j89ws85h7s1bzvs17m065lgy3mj23h0gplkbjnwkp";
};
# Don't build a private copy of bzip2.
BUILD_BZIP2 = false;
BZIP2_LIB = "${bzip2}/lib";
BZIP2_INCLUDE = "${bzip2}/include";
}

View File

@ -4660,6 +4660,10 @@ let
propagatedBuildInputs = [perlClassInspector];
};
perlCompressRawBzip2 = import ../development/perl-modules/Compress-Raw-Bzip2 {
inherit fetchurl buildPerlPackage bzip2;
};
perlCompressRawZlib = import ../development/perl-modules/Compress-Raw-Zlib {
inherit fetchurl buildPerlPackage zlib;
};
@ -5206,6 +5210,15 @@ let
};
};
perlIOCompressBzip2 = buildPerlPackage rec {
name = "IO-Compress-Bzip2-2.015";
src = fetchurl {
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
sha256 = "1kfksf2bslfkviry228p07m1ksnf06mh8gkmdpbrmlmxlbs2idnc";
};
propagatedBuildInputs = [perlIOCompressBase perlCompressRawBzip2];
};
perlIOCompressGzip = buildPerlPackage rec {
name = "IO-Compress-Zlib-2.015";
src = fetchurl {