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

View File

@ -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;
};
})

View File

@ -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;
};
})

View File

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

View File

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

View File

@ -1313,6 +1313,10 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
hspecCheckers = callPackage ../development/libraries/haskell/hspec-checkers {}; 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 {}; hstatsd = callPackage ../development/libraries/haskell/hstatsd {};
hsyslog = callPackage ../development/libraries/haskell/hsyslog {}; hsyslog = callPackage ../development/libraries/haskell/hsyslog {};