haskellPackages.aeson_1_5_6_0: generate this package
stack-2.7.3 needs pantry-0.5.2.1, which needs aeson < 2. This commit generates the latest aeson version which is < 2.
This commit is contained in:
parent
bac88bf4db
commit
48b4665863
|
@ -987,6 +987,10 @@ self: super: {
|
|||
ormolu = generateOptparseApplicativeCompletion "ormolu" super.ormolu;
|
||||
stack = generateOptparseApplicativeCompletion "stack" super.stack;
|
||||
|
||||
# Too strict version bound on hashable-time.
|
||||
# Tests require newer package version.
|
||||
aeson_1_5_6_0 = dontCheck (doJailbreak super.aeson_1_5_6_0);
|
||||
|
||||
# musl fixes
|
||||
# dontCheck: use of non-standard strptime "%s" which musl doesn't support; only used in test
|
||||
unix-time = if pkgs.stdenv.hostPlatform.isMusl then dontCheck super.unix-time else super.unix-time;
|
||||
|
|
|
@ -86,6 +86,7 @@ default-package-overrides:
|
|||
- http-client-restricted < 0.0.5
|
||||
|
||||
extra-packages:
|
||||
- aeson < 2 # required by pantry-0.5.2
|
||||
- base16-bytestring < 1 # required for cabal-install etc.
|
||||
- Cabal == 2.2.* # required for jailbreak-cabal etc.
|
||||
- Cabal == 2.4.* # required for cabal-install etc.
|
||||
|
|
|
@ -24501,6 +24501,41 @@ self: {
|
|||
hydraPlatforms = lib.platforms.none;
|
||||
}) {};
|
||||
|
||||
"aeson_1_5_6_0" = callPackage
|
||||
({ mkDerivation, attoparsec, base, base-compat
|
||||
, base-compat-batteries, base-orphans, base16-bytestring
|
||||
, bytestring, containers, data-fix, deepseq, Diff, directory, dlist
|
||||
, filepath, generic-deriving, ghc-prim, hashable, hashable-time
|
||||
, integer-logarithms, primitive, QuickCheck, quickcheck-instances
|
||||
, scientific, strict, tagged, tasty, tasty-golden, tasty-hunit
|
||||
, tasty-quickcheck, template-haskell, text, th-abstraction, these
|
||||
, time, time-compat, unordered-containers, uuid-types, vector
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "aeson";
|
||||
version = "1.5.6.0";
|
||||
sha256 = "1s5z4bgb5150h6a4cjf5vh8dmyrn6ilh29gh05999v6jwd5w6q83";
|
||||
revision = "5";
|
||||
editedCabalFile = "01mbxj0cqbf20pwgx2021r79xwp8r3sjpvhxlpay5lk0s9pvn0sh";
|
||||
libraryHaskellDepends = [
|
||||
attoparsec base base-compat-batteries bytestring containers
|
||||
data-fix deepseq dlist ghc-prim hashable primitive scientific
|
||||
strict tagged template-haskell text th-abstraction these time
|
||||
time-compat unordered-containers uuid-types vector
|
||||
];
|
||||
testHaskellDepends = [
|
||||
attoparsec base base-compat base-orphans base16-bytestring
|
||||
bytestring containers data-fix Diff directory dlist filepath
|
||||
generic-deriving ghc-prim hashable hashable-time integer-logarithms
|
||||
QuickCheck quickcheck-instances scientific strict tagged tasty
|
||||
tasty-golden tasty-hunit tasty-quickcheck template-haskell text
|
||||
these time time-compat unordered-containers uuid-types vector
|
||||
];
|
||||
description = "Fast JSON parsing and encoding";
|
||||
license = lib.licenses.bsd3;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
}) {};
|
||||
|
||||
"aeson" = callPackage
|
||||
({ mkDerivation, attoparsec, base, base-compat
|
||||
, base-compat-batteries, base-orphans, base16-bytestring
|
||||
|
|
Loading…
Reference in a new issue