3
0
Fork 0
forked from mirrors/nixpkgs

haskellPackages.spago: pin bower-json

This commit is contained in:
Malte Brandy 2022-05-21 12:28:39 +02:00
parent 9e25fe423c
commit a2a2be0ca7
4 changed files with 25 additions and 7 deletions

View file

@ -453,7 +453,6 @@ broken-packages:
- botpp
- bottom
- boundingboxes
- bower-json
- bowntz
- bpath
- BPS

View file

@ -131,6 +131,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
- bower-json == 1.0.0.1 # 2022-05-21: Needed for spago 0.20.9
package-maintainers:
abbradar:

View file

@ -620,10 +620,10 @@ self: super: builtins.intersectAttrs super {
}) super.spago;
spagoOldAeson = spagoDocs.overrideScope (hfinal: hprev: {
# spago (and its dependency, bower-json) is not yet updated for aeson-2.0
# spago is not yet updated for aeson 2.0
aeson = hfinal.aeson_1_5_6_0;
# bower-json needs aeson_1_5_6_0 and is marked broken without it.
bower-json = doDistribute (markUnbroken hprev.bower-json);
# bower-json 1.1.0.0 only supports aeson 2.0, so we pull in the older version here.
bower-json = hprev.bower-json_1_0_0_1;
});
# Tests require network access.

View file

@ -46886,6 +46886,27 @@ self: {
broken = true;
}) {};
"bower-json_1_0_0_1" = callPackage
({ mkDerivation, aeson, aeson-better-errors, base, bytestring
, deepseq, ghc-prim, mtl, scientific, tasty, tasty-hunit, text
, transformers, unordered-containers, vector
}:
mkDerivation {
pname = "bower-json";
version = "1.0.0.1";
sha256 = "0wvygg3rdbxzrmr61a9w6ddv9pfric85ih8hnxyk0ydzn7i59abs";
libraryHaskellDepends = [
aeson aeson-better-errors base bytestring deepseq ghc-prim mtl
scientific text transformers unordered-containers vector
];
testHaskellDepends = [
aeson base bytestring tasty tasty-hunit text unordered-containers
];
description = "Read bower.json from Haskell";
license = lib.licenses.mit;
hydraPlatforms = lib.platforms.none;
}) {};
"bower-json" = callPackage
({ mkDerivation, aeson, aeson-better-errors, base, bytestring
, deepseq, ghc-prim, mtl, scientific, tasty, tasty-hunit, text
@ -46904,8 +46925,6 @@ self: {
];
description = "Read bower.json from Haskell";
license = lib.licenses.mit;
hydraPlatforms = lib.platforms.none;
broken = true;
}) {};
"bowntz" = callPackage
@ -100364,7 +100383,6 @@ self: {
];
description = "Attempt to pretty-print any input";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
}) {};
"friendly-time" = callPackage