28 lines
904 B
Nix
28 lines
904 B
Nix
{ cabal, ansiTerminal, deepseq, doctest, filepath, ghcPaths
|
|
, hspecExpectations, hspecMeta, HUnit, QuickCheck, quickcheckIo
|
|
, random, setenv, silently, time, transformers
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "hspec";
|
|
version = "1.7.2.1";
|
|
sha256 = "12khyg6ixk2rkbvxjbi210w57cais1s142v337kpcp3dfk6440bk";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
ansiTerminal deepseq filepath hspecExpectations HUnit QuickCheck
|
|
quickcheckIo random setenv time transformers
|
|
];
|
|
testDepends = [
|
|
ansiTerminal deepseq doctest filepath ghcPaths hspecExpectations
|
|
hspecMeta HUnit QuickCheck quickcheckIo random setenv silently time
|
|
transformers
|
|
];
|
|
doCheck = false;
|
|
meta = {
|
|
homepage = "http://hspec.github.io/";
|
|
description = "Behavior-Driven Development for Haskell";
|
|
license = self.stdenv.lib.licenses.mit;
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|