haskell.packages.ghc90.hspec-megaparsec: Fix build

Needed for HLS
This commit is contained in:
maralorn 2023-11-18 00:31:27 +01:00
parent a5389324f0
commit e6483fb7e2
No known key found for this signature in database
3 changed files with 20 additions and 0 deletions

View file

@ -171,4 +171,6 @@ self: super: {
# Requires GHC < 9.4
ghc-source-gen = doDistribute (unmarkBroken super.ghc-source-gen);
hspec-megaparsec = super.hspec-megaparsec_2_2_0;
}

View file

@ -117,6 +117,7 @@ extra-packages:
- hspec < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
- hspec-core < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
- hspec-discover < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
- hspec-megaparsec == 2.2.0 # 2023-11-18: Latest version compatible with ghc 9.0, needed for HLS
- hspec-meta < 2.8 # 2022-12-07: Needed for elmPackages.elm / hspec-discover
- hspec-golden == 0.1.* # 2022-04-07: Needed for elm-format
- http2 < 3.3 # 2023-08-24: Needed for twain <https://github.com/alexmingoia/twain/issues/5>

View file

@ -159093,6 +159093,23 @@ self: {
license = lib.licenses.bsd3;
}) {};
"hspec-megaparsec_2_2_0" = callPackage
({ mkDerivation, base, containers, hspec, hspec-expectations
, megaparsec
}:
mkDerivation {
pname = "hspec-megaparsec";
version = "2.2.0";
sha256 = "0hyf06gzzqd6sqd76crwxycwgx804sd39z7i0c2vmv1qgsxv82gn";
libraryHaskellDepends = [
base containers hspec-expectations megaparsec
];
testHaskellDepends = [ base hspec hspec-expectations megaparsec ];
description = "Utility functions for testing Megaparsec parsers with Hspec";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
}) {};
"hspec-megaparsec" = callPackage
({ mkDerivation, base, hspec, hspec-expectations, megaparsec }:
mkDerivation {