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

28 lines
918 B
Nix
Raw Normal View History

2014-06-11 07:57:48 +00:00
{ cabal, ansiTerminal, async, deepseq, doctest, filepath, ghcPaths
2014-06-12 05:16:05 +00:00
, hspecExpectations, hspecMeta, HUnit, QuickCheck, quickcheckIo
, random, setenv, silently, tfRandom, time, transformers
2014-06-11 07:57:48 +00:00
}:
cabal.mkDerivation (self: {
pname = "hspec2";
2014-06-15 00:46:11 +00:00
version = "0.3.4";
sha256 = "0vs5y1cqprixmmjdk3sdrig9gr1k63nvn4c91b3z66jj39rdxl21";
2014-06-11 07:57:48 +00:00
isLibrary = true;
isExecutable = true;
buildDepends = [
ansiTerminal async deepseq filepath hspecExpectations HUnit
2014-06-12 05:16:05 +00:00
QuickCheck quickcheckIo random setenv tfRandom time transformers
2014-06-11 07:57:48 +00:00
];
testDepends = [
ansiTerminal async deepseq doctest filepath ghcPaths
2014-06-12 05:16:05 +00:00
hspecExpectations hspecMeta HUnit QuickCheck quickcheckIo random
setenv silently tfRandom time transformers
2014-06-11 07:57:48 +00:00
];
meta = {
homepage = "http://hspec.github.io/";
description = "Alpha version of Hspec 2.0";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
};
})