mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
7165babaf1
This change brings support for building and running the regressions test suites.
21 lines
611 B
Nix
21 lines
611 B
Nix
{ cabal, baseUnicodeSymbols, concurrentExtra, HUnit, stm
|
|
, testFramework, testFrameworkHunit
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "threads";
|
|
version = "0.5.0.1";
|
|
sha256 = "0amyaxa70q6v021nab6v3cfqc40mwj5dr2fwla9d4bm6ppmq6lyy";
|
|
buildDepends = [ baseUnicodeSymbols stm ];
|
|
testDepends = [
|
|
baseUnicodeSymbols concurrentExtra HUnit stm testFramework
|
|
testFrameworkHunit
|
|
];
|
|
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;
|
|
};
|
|
})
|