2012-08-17 17:14:10 +00:00
|
|
|
{ fetchurl, buildPerlPackage, zlib, stdenv }:
|
2009-02-12 20:18:13 +00:00
|
|
|
|
|
|
|
buildPerlPackage rec {
|
2017-01-08 13:30:31 +00:00
|
|
|
name = "Compress-Raw-Zlib-2.071";
|
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";
|
2017-01-08 13:30:31 +00:00
|
|
|
sha256 = "0dk7pcmhnl7n811q3p4rrz5ijdhz6jx367h6rypgvg1y39z4arfs";
|
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
|
2016-04-16 17:50:01 +00:00
|
|
|
INCLUDE = ${zlib.dev}/include
|
2016-01-24 07:30:24 +00:00
|
|
|
LIB = ${zlib.out}/lib
|
2009-02-12 20:18:13 +00:00
|
|
|
OLD_ZLIB = False
|
|
|
|
GZIP_OS_CODE = AUTO_DETECT
|
|
|
|
EOF
|
|
|
|
'';
|
2012-08-17 17:14:10 +00:00
|
|
|
|
2017-01-08 13:30:31 +00:00
|
|
|
# Try untested for now. Upstream bug:
|
|
|
|
# https://rt.cpan.org/Public/Bug/Display.html?id=119762
|
|
|
|
doCheck = false && !stdenv.isDarwin;
|
2013-01-18 23:02:51 +00:00
|
|
|
|
|
|
|
meta = {
|
2014-11-06 00:44:33 +00:00
|
|
|
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
|
2013-01-18 23:02:51 +00:00
|
|
|
};
|
2009-02-12 20:18:13 +00:00
|
|
|
}
|