2011-09-16 12:32:37 +02:00
|
|
|
{ fetchurl, buildPerlPackage, zlib }:
|
2009-02-12 21:18:13 +01:00
|
|
|
|
|
|
|
buildPerlPackage rec {
|
2011-09-16 12:32:37 +02:00
|
|
|
name = "Compress-Raw-Zlib-2.037";
|
2009-02-12 21:18:13 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-09-16 12:32:37 +02:00
|
|
|
url = "mirror://cpan/modules/by-module/Compress/${name}.tar.gz";
|
|
|
|
sha256 = "18grvxjlsqlqiwxgdf26s4z4q9ag0vacrswxbyaqf11a03sciw7d";
|
2009-02-12 21:18:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cat > config.in <<EOF
|
|
|
|
BUILD_ZLIB = False
|
|
|
|
INCLUDE = ${zlib}/include
|
|
|
|
LIB = ${zlib}/lib
|
|
|
|
OLD_ZLIB = False
|
|
|
|
GZIP_OS_CODE = AUTO_DETECT
|
|
|
|
EOF
|
|
|
|
'';
|
|
|
|
}
|