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

29 lines
902 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
2013-04-01 17:18:47 +02:00
, random, setenv, silently, time, transformers
}:
cabal.mkDerivation (self: {
pname = "hspec";
2013-09-02 13:20:17 +02:00
version = "1.7.1";
sha256 = "0fc8phc36876f8qydc5iwz3i7nri0n6b4dlxv0w4rcxgv9hp7ls0";
isLibrary = true;
isExecutable = true;
buildDepends = [
2013-04-01 17:18:47 +02:00
ansiTerminal deepseq filepath hspecExpectations HUnit QuickCheck
quickcheckIo random setenv time transformers
];
testDepends = [
2013-04-01 17:18:47 +02:00
ansiTerminal deepseq doctest filepath ghcPaths hspecExpectations
hspecMeta HUnit QuickCheck quickcheckIo random setenv silently 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;
};
})