2012-08-17 18:14:10 +01:00
|
|
|
{ fetchurl, buildPerlPackage, zlib, stdenv }:
|
2009-02-12 20:18:13 +00:00
|
|
|
|
|
|
|
buildPerlPackage rec {
|
2013-12-14 15:32:29 +00:00
|
|
|
name = "Compress-Raw-Zlib-2.063";
|
2012-03-07 06:52:02 +00:00
|
|
|
|
2009-02-12 20:18:13 +00:00
|
|
|
src = fetchurl {
|
2011-09-16 11:32:37 +01:00
|
|
|
url = "mirror://cpan/modules/by-module/Compress/${name}.tar.gz";
|
2013-12-14 15:32:29 +00:00
|
|
|
sha256 = "16cn9pq4pngncs3qhlam0yw2l0q7hq4qfdyxp03jaad6ndc4dzp9";
|
2009-02-12 20:18:13 +00:00
|
|
|
};
|
2012-03-07 06:52:02 +00:00
|
|
|
|
2009-02-12 20:18:13 +00:00
|
|
|
preConfigure = ''
|
|
|
|
cat > config.in <<EOF
|
|
|
|
BUILD_ZLIB = False
|
|
|
|
INCLUDE = ${zlib}/include
|
|
|
|
LIB = ${zlib}/lib
|
|
|
|
OLD_ZLIB = False
|
|
|
|
GZIP_OS_CODE = AUTO_DETECT
|
|
|
|
EOF
|
|
|
|
'';
|
2012-08-17 18:14:10 +01:00
|
|
|
|
|
|
|
doCheck = !stdenv.isDarwin;
|
2013-01-18 23:02:51 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
license = "perl5";
|
|
|
|
};
|
2009-02-12 20:18:13 +00:00
|
|
|
}
|