2012-08-17 17:14:10 +00:00
|
|
|
{ fetchurl, buildPerlPackage, zlib, stdenv }:
|
2009-02-12 20:18:13 +00:00
|
|
|
|
|
|
|
buildPerlPackage rec {
|
2014-04-07 12:04:05 +00:00
|
|
|
name = "Compress-Raw-Zlib-2.065";
|
2012-03-07 06:52:02 +00:00
|
|
|
|
2009-02-12 20:18:13 +00:00
|
|
|
src = fetchurl {
|
2014-04-07 12:04:05 +00:00
|
|
|
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
|
|
|
|
sha256 = "1i09h3dvn8ipaj1l2nq2qd19wzhn7wcpbsipdkcniwi0sgy1kf1p";
|
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 17:14:10 +00:00
|
|
|
|
|
|
|
doCheck = !stdenv.isDarwin;
|
2013-01-18 23:02:51 +00:00
|
|
|
|
|
|
|
meta = {
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.perl5;
|
2013-01-18 23:02:51 +00:00
|
|
|
};
|
2009-02-12 20:18:13 +00:00
|
|
|
}
|