2013-02-24 21:09:07 +00:00
|
|
|
{ cabal, baseUnicodeSymbols, concurrentExtra, HUnit, stm
|
|
|
|
, testFramework, testFrameworkHunit
|
|
|
|
}:
|
2012-09-24 10:58:57 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "threads";
|
|
|
|
version = "0.5.0.1";
|
|
|
|
sha256 = "0amyaxa70q6v021nab6v3cfqc40mwj5dr2fwla9d4bm6ppmq6lyy";
|
|
|
|
buildDepends = [ baseUnicodeSymbols stm ];
|
2013-02-24 21:09:07 +00:00
|
|
|
testDepends = [
|
|
|
|
baseUnicodeSymbols concurrentExtra HUnit stm testFramework
|
|
|
|
testFrameworkHunit
|
|
|
|
];
|
2012-09-24 10:58:57 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/basvandijk/threads";
|
|
|
|
description = "Fork threads and wait for their result";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|