27 lines
918 B
Nix
27 lines
918 B
Nix
{ cabal, ansiTerminal, async, deepseq, doctest, filepath, ghcPaths
|
|
, hspecExpectations, hspecMeta, HUnit, QuickCheck, quickcheckIo
|
|
, random, setenv, silently, tfRandom, time, transformers
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "hspec2";
|
|
version = "0.3.4";
|
|
sha256 = "0vs5y1cqprixmmjdk3sdrig9gr1k63nvn4c91b3z66jj39rdxl21";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
ansiTerminal async deepseq filepath hspecExpectations HUnit
|
|
QuickCheck quickcheckIo random setenv tfRandom time transformers
|
|
];
|
|
testDepends = [
|
|
ansiTerminal async deepseq doctest filepath ghcPaths
|
|
hspecExpectations hspecMeta HUnit QuickCheck quickcheckIo random
|
|
setenv silently tfRandom time transformers
|
|
];
|
|
meta = {
|
|
homepage = "http://hspec.github.io/";
|
|
description = "Alpha version of Hspec 2.0";
|
|
license = self.stdenv.lib.licenses.mit;
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|