nixpkgs/pkgs/development/libraries/haskell/hspec/default.nix
2014-05-02 14:57:46 +08:00

29 lines
930 B
Nix

{ cabal, ansiTerminal, deepseq, doctest, filepath, ghcPaths
, hspecExpectations, hspecMeta, HUnit, QuickCheck, quickcheckIo
, random, setenv, silently, tfRandom, time, transformers
}:
cabal.mkDerivation (self: {
pname = "hspec";
version = "1.9.5";
sha256 = "0y9gbm5rwwn80yzdllh1amaih4vxa61i9dzym88jr2kkwjrhxay4";
isLibrary = true;
isExecutable = true;
buildDepends = [
ansiTerminal deepseq filepath hspecExpectations HUnit QuickCheck
quickcheckIo random setenv tfRandom time transformers
];
testDepends = [
ansiTerminal deepseq doctest filepath ghcPaths hspecExpectations
hspecMeta HUnit QuickCheck quickcheckIo random setenv silently
tfRandom 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;
};
})