haskell-stylish-cabal: build needs hspec < 2.5 to succeed

This commit is contained in:
Peter Simons 2018-07-11 11:09:40 +02:00
parent 04c26d79c2
commit 4fe4ac341d
3 changed files with 76 additions and 0 deletions

View File

@ -1091,4 +1091,8 @@ self: super: {
# Break out of "aeson <1.3, temporary <1.3".
stack = doJailbreak super.stack;
# https://github.com/pikajude/stylish-cabal/issues/11
stylish-cabal = super.stylish-cabal.override { hspec = self.hspec_2_4_8; hspec-core = self.hspec-core_2_4_8; };
hspec_2_4_8 = super.hspec_2_4_8.override { hspec-core = self.hspec-core_2_4_8; hspec-discover = self.hspec-discover_2_4_8; };
}

View File

@ -2385,6 +2385,9 @@ extra-packages:
- haskell-src-exts == 1.19.* # required by hindent and structured-haskell-mode
- hinotify == 0.3.9 # for xmonad-0.26: https://github.com/kolmodin/hinotify/issues/29
- hoogle == 5.0.14 # required by hie-hoogle
- hspec < 2.5 # stylish-cabal-0.4.0.1: https://github.com/pikajude/stylish-cabal/issues/11
- hspec-core < 2.5 # stylish-cabal-0.4.0.1: https://github.com/pikajude/stylish-cabal/issues/11
- hspec-discover < 2.5 # stylish-cabal-0.4.0.1: https://github.com/pikajude/stylish-cabal/issues/11
- html-conduit ^>= 1.2 # pre-lts-11.x versions neeed by git-annex 6.20180227
- http-conduit ^>= 2.2 # pre-lts-11.x versions neeed by git-annex 6.20180227
- inline-c < 0.6 # required on GHC 8.0.x

View File

@ -108271,6 +108271,29 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"hspec_2_4_8" = callPackage
({ mkDerivation, base, call-stack, directory, hspec-core
, hspec-discover, hspec-expectations, hspec-meta, HUnit, QuickCheck
, stringbuilder, transformers
}:
mkDerivation {
pname = "hspec";
version = "2.4.8";
sha256 = "18pddkfz661b1nr1nziq8cnmlzxiqzzmrcrk3iwn476vi3bf1m4l";
libraryHaskellDepends = [
base call-stack hspec-core hspec-discover hspec-expectations HUnit
QuickCheck transformers
];
testHaskellDepends = [
base call-stack directory hspec-core hspec-discover
hspec-expectations hspec-meta HUnit QuickCheck stringbuilder
transformers
];
description = "A Testing Framework for Haskell";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"hspec" = callPackage
({ mkDerivation, base, call-stack, directory, hspec-core
, hspec-discover, hspec-expectations, hspec-meta, HUnit, QuickCheck
@ -108335,6 +108358,33 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
"hspec-core_2_4_8" = callPackage
({ mkDerivation, ansi-terminal, array, base, call-stack, deepseq
, directory, filepath, hspec-expectations, hspec-meta, HUnit
, process, QuickCheck, quickcheck-io, random, setenv, silently, stm
, temporary, tf-random, time, transformers
}:
mkDerivation {
pname = "hspec-core";
version = "2.4.8";
sha256 = "02zr6n7mqdncvf1braf38zjdplaxrkg11x9k8717k4yg57585ji4";
libraryHaskellDepends = [
ansi-terminal array base call-stack deepseq directory filepath
hspec-expectations HUnit QuickCheck quickcheck-io random setenv stm
tf-random time transformers
];
testHaskellDepends = [
ansi-terminal array base call-stack deepseq directory filepath
hspec-expectations hspec-meta HUnit process QuickCheck
quickcheck-io random setenv silently stm temporary tf-random time
transformers
];
testTarget = "--test-option=--skip --test-option='Test.Hspec.Core.Runner.hspecResult runs specs in parallel'";
description = "A Testing Framework for Haskell";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"hspec-core" = callPackage
({ mkDerivation, ansi-terminal, array, base, call-stack, clock
, deepseq, directory, filepath, hspec-expectations, hspec-meta
@ -108379,6 +108429,25 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
"hspec-discover_2_4_8" = callPackage
({ mkDerivation, base, directory, filepath, hspec-meta, QuickCheck
}:
mkDerivation {
pname = "hspec-discover";
version = "2.4.8";
sha256 = "0llwdfpjgfpi7dr8caw0fldb9maqznmqh4awkvx72bz538gqmlka";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base directory filepath ];
executableHaskellDepends = [ base directory filepath ];
testHaskellDepends = [
base directory filepath hspec-meta QuickCheck
];
description = "Automatically discover and run Hspec tests";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"hspec-discover" = callPackage
({ mkDerivation, base, directory, filepath, hspec-meta, QuickCheck
}: