2013-02-24 22:09:07 +01:00
|
|
|
{ cabal, baseUnicodeSymbols, concurrentExtra, HUnit, stm
|
|
|
|
, testFramework, testFrameworkHunit
|
|
|
|
}:
|
2012-09-24 11:58:57 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "threads";
|
2013-11-11 12:12:47 +01:00
|
|
|
version = "0.5.0.3";
|
|
|
|
sha256 = "1da5p65qf1w746flqnl7pxd05pdh8psi6psi0zsqqxmiykw4zvrf";
|
2012-09-24 11:58:57 +02:00
|
|
|
buildDepends = [ baseUnicodeSymbols stm ];
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [
|
|
|
|
baseUnicodeSymbols concurrentExtra HUnit stm testFramework
|
|
|
|
testFrameworkHunit
|
|
|
|
];
|
2013-02-25 00:11:16 +01:00
|
|
|
doCheck = false;
|
2012-09-24 11:58:57 +02: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;
|
|
|
|
};
|
|
|
|
})
|