nixpkgs/pkgs/development/libraries/haskell/hspec/default.nix

29 lines
930 B
Nix
Raw Normal View History

2013-04-01 16:18:47 +01:00
{ cabal, ansiTerminal, deepseq, doctest, filepath, ghcPaths
2013-04-01 09:00:40 +01:00
, hspecExpectations, hspecMeta, HUnit, QuickCheck, quickcheckIo
2014-03-20 21:26:14 +00:00
, random, setenv, silently, tfRandom, time, transformers
}:
cabal.mkDerivation (self: {
pname = "hspec";
2014-05-01 11:19:54 +01:00
version = "1.9.4";
sha256 = "1dvh1hy0jh55z3br5c5cz56bni5czvqcplarjcyanbvqsd05xyll";
isLibrary = true;
isExecutable = true;
buildDepends = [
2013-04-01 16:18:47 +01:00
ansiTerminal deepseq filepath hspecExpectations HUnit QuickCheck
2014-03-20 21:26:14 +00:00
quickcheckIo random setenv tfRandom time transformers
];
testDepends = [
2013-04-01 16:18:47 +01:00
ansiTerminal deepseq doctest filepath ghcPaths hspecExpectations
2014-03-20 21:26:14 +00:00
hspecMeta HUnit QuickCheck quickcheckIo random setenv silently
tfRandom time transformers
];
2013-04-06 10:13:19 +01:00
doCheck = false;
meta = {
2013-07-01 10:04:04 +01:00
homepage = "http://hspec.github.io/";
2012-11-16 14:59:15 +00:00
description = "Behavior-Driven Development for Haskell";
2013-07-01 10:04:04 +01:00
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
};
})