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

28 lines
918 B
Nix
Raw Normal View History

2014-06-11 09:57:48 +02:00
{ cabal, ansiTerminal, async, deepseq, doctest, filepath, ghcPaths
2014-06-12 07:16:05 +02:00
, hspecExpectations, hspecMeta, HUnit, QuickCheck, quickcheckIo
, random, setenv, silently, tfRandom, time, transformers
2014-06-11 09:57:48 +02:00
}:
cabal.mkDerivation (self: {
pname = "hspec2";
2014-06-15 02:46:11 +02:00
version = "0.3.4";
sha256 = "0vs5y1cqprixmmjdk3sdrig9gr1k63nvn4c91b3z66jj39rdxl21";
2014-06-11 09:57:48 +02:00
isLibrary = true;
isExecutable = true;
buildDepends = [
ansiTerminal async deepseq filepath hspecExpectations HUnit
2014-06-12 07:16:05 +02:00
QuickCheck quickcheckIo random setenv tfRandom time transformers
2014-06-11 09:57:48 +02:00
];
testDepends = [
ansiTerminal async deepseq doctest filepath ghcPaths
2014-06-12 07:16:05 +02:00
hspecExpectations hspecMeta HUnit QuickCheck quickcheckIo random
setenv silently tfRandom time transformers
2014-06-11 09:57:48 +02: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;
};
})