22 lines
630 B
Nix
22 lines
630 B
Nix
{ cabal, baseUnicodeSymbols, concurrentExtra, HUnit, stm
|
|
, testFramework, testFrameworkHunit
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "threads";
|
|
version = "0.5.1.2";
|
|
sha256 = "1bq2aza6sam4zkgpgf8x4lhkk2na1i8annx9cwad3j68p5vdg929";
|
|
buildDepends = [ baseUnicodeSymbols stm ];
|
|
testDepends = [
|
|
baseUnicodeSymbols concurrentExtra HUnit stm testFramework
|
|
testFrameworkHunit
|
|
];
|
|
doCheck = false;
|
|
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;
|
|
};
|
|
})
|