mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #390 from aforemny/haskell-stm-conduit
Add haskell-stm-conduit
This commit is contained in:
commit
dad328f766
3 changed files with 36 additions and 0 deletions
14
pkgs/development/libraries/haskell/stm-chans/default.nix
Normal file
14
pkgs/development/libraries/haskell/stm-chans/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ cabal, stm }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "stm-chans";
|
||||
version = "1.3.1";
|
||||
sha256 = "15agd0d3r3zmya72hpi9pkmzqw7mj6l84946dhds0hsb6d12r6qj";
|
||||
buildDepends = [ stm ];
|
||||
meta = {
|
||||
homepage = "http://code.haskell.org/~wren/";
|
||||
description = "Additional types of channels for STM";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
18
pkgs/development/libraries/haskell/stm-conduit/default.nix
Normal file
18
pkgs/development/libraries/haskell/stm-conduit/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ cabal, conduit, resourcet, stm, stmChans, transformers, HUnit, QuickCheck
|
||||
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2 }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "stm-conduit";
|
||||
version = "1.0.0";
|
||||
sha256 = "1kkx3x3qdqw5jp9vn9kxbxmmb8x0wdbp8jch08azw45pwjh3ga7v";
|
||||
buildDepends = [
|
||||
conduit resourcet stm stmChans transformers HUnit QuickCheck
|
||||
testFramework testFrameworkHunit testFrameworkQuickcheck2
|
||||
];
|
||||
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;
|
||||
};
|
||||
})
|
|
@ -1693,6 +1693,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
|||
stm_2_4_2 = callPackage ../development/libraries/haskell/stm/2.4.2.nix {};
|
||||
stm = self.stm_2_4_2;
|
||||
|
||||
stmChans = callPackage ../development/libraries/haskell/stm-chans {};
|
||||
|
||||
stmConduit = callPackage ../development/libraries/haskell/stm-conduit {};
|
||||
|
||||
storableComplex = callPackage ../development/libraries/haskell/storable-complex {};
|
||||
|
||||
storableRecord = callPackage ../development/libraries/haskell/storable-record {};
|
||||
|
|
Loading…
Reference in a new issue