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