25 lines
921 B
Nix
25 lines
921 B
Nix
{ cabal, async, cereal, cerealConduit, conduit, HUnit, liftedAsync
|
|
, liftedBase, monadControl, monadLoops, QuickCheck, resourcet, stm
|
|
, stmChans, testFramework, testFrameworkHunit
|
|
, testFrameworkQuickcheck2, transformers
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "stm-conduit";
|
|
version = "2.2.1";
|
|
sha256 = "15ym83c42krx19rw719yqlib1vcg68jmx48rihy5aimc0m5m307b";
|
|
buildDepends = [
|
|
async cereal cerealConduit conduit liftedAsync liftedBase
|
|
monadControl monadLoops resourcet stm stmChans transformers
|
|
];
|
|
testDepends = [
|
|
conduit HUnit QuickCheck resourcet 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;
|
|
};
|
|
})
|