1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/development/perl-modules/Compress-Raw-Zlib/default.nix
Eelco Dolstra 7df0d1cc58 * Updated IO::Compress.
svn path=/nixpkgs/trunk/; revision=29301
2011-09-16 10:32:37 +00:00

21 lines
489 B
Nix

{ fetchurl, buildPerlPackage, zlib }:
buildPerlPackage rec {
name = "Compress-Raw-Zlib-2.037";
src = fetchurl {
url = "mirror://cpan/modules/by-module/Compress/${name}.tar.gz";
sha256 = "18grvxjlsqlqiwxgdf26s4z4q9ag0vacrswxbyaqf11a03sciw7d";
};
preConfigure = ''
cat > config.in <<EOF
BUILD_ZLIB = False
INCLUDE = ${zlib}/include
LIB = ${zlib}/lib
OLD_ZLIB = False
GZIP_OS_CODE = AUTO_DETECT
EOF
'';
}