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-05-02 08:57:46 +02:00
version = "1.9.5";
sha256 = "0y9gbm5rwwn80yzdllh1amaih4vxa61i9dzym88jr2kkwjrhxay4";
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;
};
})