2012-08-17 10:14:10 -07:00
|
|
|
{ fetchurl, buildPerlPackage, zlib, stdenv }:
|
2009-02-12 12:18:13 -08:00
|
|
|
|
|
|
|
buildPerlPackage rec {
|
2019-04-21 14:19:40 -07:00
|
|
|
name = "Compress-Raw-Zlib-2.086";
|
2012-03-06 22:52:02 -08:00
|
|
|
|
2009-02-12 12:18:13 -08:00
|
|
|
src = fetchurl {
|
2014-04-07 05:04:05 -07:00
|
|
|
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
|
2019-04-21 14:19:40 -07:00
|
|
|
sha256 = "0va93wc968p4l2ql0k349bz189l2vbs09bpn865cvc36amqxwv9z";
|
2009-02-12 12:18:13 -08:00
|
|
|
};
|
2012-03-06 22:52:02 -08:00
|
|
|
|
2009-02-12 12:18:13 -08:00
|
|
|
preConfigure = ''
|
|
|
|
cat > config.in <<EOF
|
|
|
|
BUILD_ZLIB = False
|
2016-04-16 10:50:01 -07:00
|
|
|
INCLUDE = ${zlib.dev}/include
|
2016-01-23 23:30:24 -08:00
|
|
|
LIB = ${zlib.out}/lib
|
2009-02-12 12:18:13 -08:00
|
|
|
OLD_ZLIB = False
|
|
|
|
GZIP_OS_CODE = AUTO_DETECT
|
|
|
|
EOF
|
|
|
|
'';
|
2012-08-17 10:14:10 -07:00
|
|
|
|
2017-08-18 22:58:12 -07:00
|
|
|
doCheck = !stdenv.isDarwin;
|
2013-01-18 15:02:51 -08:00
|
|
|
|
|
|
|
meta = {
|
2014-11-05 16:44:33 -08:00
|
|
|
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
|
2013-01-18 15:02:51 -08:00
|
|
|
};
|
2009-02-12 12:18:13 -08:00
|
|
|
}
|