2014-04-04 23:30:05 +02:00
|
|
|
{ cabal, async, cereal, cerealConduit, conduit, conduitExtra, HUnit
|
|
|
|
, liftedAsync, liftedBase, monadControl, monadLoops, QuickCheck
|
|
|
|
, resourcet, stm, stmChans, testFramework, testFrameworkHunit
|
2014-01-25 16:52:43 +01:00
|
|
|
, testFrameworkQuickcheck2, transformers
|
2013-03-20 10:44:55 +01:00
|
|
|
}:
|
2013-03-16 15:33:16 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "stm-conduit";
|
2014-04-04 23:30:05 +02:00
|
|
|
version = "2.4.0";
|
|
|
|
sha256 = "03ifxr3pspwmzf0xdh7mj3q1wiz13d86w9pdhiqa6b1d1qw6rvha";
|
2013-08-02 16:19:50 +02:00
|
|
|
buildDepends = [
|
2014-04-04 23:30:05 +02:00
|
|
|
async cereal cerealConduit conduit conduitExtra liftedAsync
|
|
|
|
liftedBase monadControl monadLoops resourcet stm stmChans
|
|
|
|
transformers
|
2013-08-02 16:19:50 +02:00
|
|
|
];
|
2013-03-20 10:44:55 +01:00
|
|
|
testDepends = [
|
2014-01-25 16:52:43 +01:00
|
|
|
conduit HUnit QuickCheck resourcet stm stmChans testFramework
|
2013-03-20 10:44:55 +01:00
|
|
|
testFrameworkHunit testFrameworkQuickcheck2 transformers
|
2013-03-16 15:33:16 +01:00
|
|
|
];
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|