2012-02-16 15:05:41 +01:00
|
|
|
{ cabal, enumerator, transformers, zlibBindings }:
|
2011-08-08 00:51:22 +02:00
|
|
|
|
2011-08-10 01:00:20 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2011-08-08 00:51:22 +02:00
|
|
|
pname = "zlib-enum";
|
2012-04-05 18:51:59 +02:00
|
|
|
version = "0.2.2";
|
|
|
|
sha256 = "1fmlvjj1krigj5aqipq5pf0mqnybr7zz50mgqr30kznfg48ry29y";
|
2011-08-10 01:00:20 +02:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
2012-02-16 15:05:41 +01:00
|
|
|
buildDepends = [ enumerator transformers zlibBindings ];
|
2012-04-25 12:12:44 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e "s|transformers *== 0\.2\.\*|transformers|" zlib-enum.cabal
|
|
|
|
'';
|
2011-08-08 00:51:22 +02:00
|
|
|
meta = {
|
|
|
|
homepage = "http://github.com/maltem/zlib-enum";
|
|
|
|
description = "Enumerator interface for zlib compression";
|
|
|
|
license = self.stdenv.lib.licenses.mit;
|
2011-08-09 11:54:50 +02:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 11:21:28 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-08-08 00:51:22 +02:00
|
|
|
};
|
|
|
|
})
|