2012-02-16 15:05:41 +01:00
|
|
|
{ cabal, cereal, conduit, cryptoApi, transformers }:
|
2012-02-10 12:32:45 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "crypto-conduit";
|
2012-04-19 12:22:03 +02:00
|
|
|
version = "0.3.1";
|
|
|
|
sha256 = "0hb9wkq70bmx54vksj78f0av1byvksjhqlr730cfc5fc6w60kzqk";
|
2012-02-16 15:05:41 +01:00
|
|
|
buildDepends = [ cereal conduit cryptoApi transformers ];
|
2012-04-19 13:16:36 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|crypto-api >= 0.9 && < 0.10|crypto-api|' crypto-conduit.cabal
|
|
|
|
'';
|
2012-02-10 12:32:45 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/meteficha/crypto-conduit";
|
|
|
|
description = "Conduit interface for cryptographic operations (from crypto-api)";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 11:21:28 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2012-02-10 12:32:45 +01:00
|
|
|
};
|
|
|
|
})
|