25 lines
865 B
Nix
25 lines
865 B
Nix
{ cabal, async, conduit, HUnit, liftedAsync, liftedBase
|
|
, monadControl, monadLoops, QuickCheck, resourcet, stm, stmChans
|
|
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2
|
|
, transformers
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "stm-conduit";
|
|
version = "2.2";
|
|
sha256 = "14fz8izr8fxi3s78fhz4p5yfdkfcipcfpcj6dn5w0fkcd2hc2a66";
|
|
buildDepends = [
|
|
async conduit liftedAsync liftedBase monadControl monadLoops
|
|
resourcet stm stmChans transformers
|
|
];
|
|
testDepends = [
|
|
conduit HUnit QuickCheck stm stmChans testFramework
|
|
testFrameworkHunit testFrameworkQuickcheck2 transformers
|
|
];
|
|
meta = {
|
|
homepage = "https://github.com/wowus/stm-conduit";
|
|
description = "Introduces conduits to channels, and promotes using conduits concurrently";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|