nixpkgs/pkgs/development/libraries/haskell/crypto-conduit/default.nix

27 lines
865 B
Nix

{ cabal, cereal, conduit, cryptoApi, cryptocipher
, cryptohashCryptoapi, hspec, skein, transformers
}:
cabal.mkDerivation (self: {
pname = "crypto-conduit";
version = "0.5.2.1";
sha256 = "1i9m4pzy4ib9n941zlh398idmxcjak2496c4c73i8bmikryahl8p";
buildDepends = [ cereal conduit cryptoApi transformers ];
testDepends = [
cereal conduit cryptoApi cryptocipher cryptohashCryptoapi hspec
skein transformers
];
patchPhase = ''
sed -i -e 's|crypto-api >=.*|crypto-api|' crypto-conduit.cabal
'';
jailbreak = true;
doCheck = false;
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;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})