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

29 lines
930 B
Nix
Raw Normal View History

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