haskell-hspec2: new package, v0.3.0

This commit is contained in:
Sönke Hahn 2014-06-11 15:57:48 +08:00
parent 1d3477c422
commit de0520bb3a
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ cabal, ansiTerminal, async, deepseq, doctest, filepath, ghcPaths
, hspecExpectations, hspecMeta, HUnit, ioMemoize, QuickCheck
, quickcheckIo, random, setenv, silently, tfRandom, time
, transformers
}:
cabal.mkDerivation (self: {
pname = "hspec2";
version = "0.3.0";
sha256 = "0ia19jraz2di31c48lh0kswkb2573jxm7msf33i8d5a5yq8y9wwp";
isLibrary = true;
isExecutable = true;
buildDepends = [
ansiTerminal async deepseq filepath hspecExpectations HUnit
ioMemoize QuickCheck quickcheckIo random setenv tfRandom time
transformers
];
testDepends = [
ansiTerminal async deepseq doctest filepath ghcPaths
hspecExpectations hspecMeta HUnit ioMemoize QuickCheck quickcheckIo
random setenv silently tfRandom time transformers
];
meta = {
homepage = "http://hspec.github.io/";
description = "Alpha version of Hspec 2.0";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1156,6 +1156,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
hspec = callPackage ../development/libraries/haskell/hspec {};
hspec2 = callPackage ../development/libraries/haskell/hspec2 {};
hspecExpectations = callPackage ../development/libraries/haskell/hspec-expectations {};
hspecExpectationsLens = callPackage ../development/libraries/haskell/hspec-expectations-lens {};