Matching hspec-hspec2

Upgraded hspec2 to 0.6.
        Upgraded hspec to 2.0.1.
        This allows (recursively) depending on hspec2 and hspec to work nicely,
        since now hspec2 is just a re-export of hspec.
This commit is contained in:
Julian K. Arni 2014-11-12 13:04:43 +01:00 committed by Peter Simons
parent 12379b27c8
commit 9134fc29b7
5 changed files with 61 additions and 34 deletions

@ -0,0 +1,27 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, ansiTerminal, async, deepseq, ghcPaths, hspecExpectations
, hspecMeta, HUnit, QuickCheck, quickcheckIo, random, setenv
, silently, tfRandom, time, transformers
}:
cabal.mkDerivation (self: {
pname = "hspec-core";
version = "2.0.1";
sha256 = "1yr2hkr1p95bpj5n6hqw20g8imqal6pva4nrvy0hmxdg53jyxcf7";
buildDepends = [
ansiTerminal async deepseq hspecExpectations HUnit QuickCheck
quickcheckIo random setenv tfRandom time transformers
];
testDepends = [
ansiTerminal async deepseq ghcPaths hspecExpectations hspecMeta
HUnit QuickCheck quickcheckIo random setenv silently tfRandom time
transformers
];
meta = {
homepage = "http://hspec.github.io/";
description = "A Testing Framework for Haskell";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
};
})

@ -0,0 +1,20 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, filepath, hspecMeta }:
cabal.mkDerivation (self: {
pname = "hspec-discover";
version = "2.0.1";
sha256 = "0k54j1id5yj60kjxs16w4hr52wanc55l131arypcjgf9w4yx3x3w";
isLibrary = true;
isExecutable = true;
buildDepends = [ filepath ];
testDepends = [ filepath hspecMeta ];
noHaddock = true;
meta = {
homepage = "http://hspec.github.io/";
description = "Automatically discover and run Hspec tests";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
};
})

@ -1,26 +1,17 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, ansiTerminal, async, deepseq, filepath, ghcPaths
, hspecExpectations, hspecMeta, HUnit, QuickCheck, quickcheckIo
, random, setenv, silently, stringbuilder, tfRandom, time
, transformers
{ cabal, hspecCore, hspecDiscover, hspecExpectations, hspecMeta
, QuickCheck, stringbuilder, transformers
}:
cabal.mkDerivation (self: {
pname = "hspec";
version = "1.12.3";
sha256 = "0lqihgsk46lwm4k2nc81pbi1gdfk7qnmjli90bvf4pbbhg5igjkn";
isLibrary = true;
isExecutable = true;
version = "2.0.1";
sha256 = "05kwxn5sws8gc1v8im2pyirrj5bzc6lnj22q2klgj4mg3apjd0jb";
buildDepends = [
ansiTerminal async deepseq filepath hspecExpectations HUnit
QuickCheck quickcheckIo random setenv tfRandom time transformers
];
testDepends = [
ansiTerminal async deepseq filepath ghcPaths hspecExpectations
hspecMeta HUnit QuickCheck quickcheckIo random setenv silently
stringbuilder tfRandom time transformers
hspecCore hspecDiscover hspecExpectations QuickCheck transformers
];
testDepends = [ hspecCore hspecMeta QuickCheck stringbuilder ];
doCheck = false;
meta = {
homepage = "http://hspec.github.io/";

@ -1,31 +1,16 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, ansiTerminal, async, deepseq, filepath, ghcPaths
, hspecExpectations, hspecMeta, HUnit, QuickCheck, quickcheckIo
, random, setenv, silently, stringbuilder, tfRandom, time
, transformers
}:
{ cabal, hspec, hspecDiscover }:
cabal.mkDerivation (self: {
pname = "hspec2";
version = "0.5.1";
sha256 = "1ax507vb0zm5jalp6pvlk1fjfil766pf7w61d1igpxr0s00lnvlq";
isLibrary = true;
isExecutable = true;
buildDepends = [
ansiTerminal async deepseq filepath hspecExpectations HUnit
QuickCheck quickcheckIo random setenv tfRandom time transformers
];
testDepends = [
ansiTerminal async deepseq filepath ghcPaths hspecExpectations
hspecMeta HUnit QuickCheck quickcheckIo random setenv silently
stringbuilder tfRandom time transformers
];
version = "0.6.0";
sha256 = "13gh7gf2kdawyssrsd8ln55i776v51r8fwih25160860n1p5dcz5";
buildDepends = [ hspec hspecDiscover ];
meta = {
homepage = "http://hspec.github.io/";
description = "Alpha version of Hspec 2.0";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
broken = true;
};
})

@ -1313,6 +1313,10 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
hspecCheckers = callPackage ../development/libraries/haskell/hspec-checkers {};
hspecCore = callPackage ../development/libraries/haskell/hspec-core {};
hspecDiscover = callPackage ../development/libraries/haskell/hspec-discover {};
hstatsd = callPackage ../development/libraries/haskell/hstatsd {};
hsyslog = callPackage ../development/libraries/haskell/hsyslog {};