haskellPackages.pipes-aeson: fix build

This commit is contained in:
Alexandre Esteves
2024-07-21 14:32:14 +01:00
parent 3f6118d524
commit 8bb380efbb
4 changed files with 7 additions and 24 deletions

View File

@@ -1942,22 +1942,12 @@ self: super: {
(self.generateOptparseApplicativeCompletions [ "hci" ])
];
pipes-aeson = appendPatches [
# Dependency of the aeson-2 patch
(fetchpatch {
name = "pipes-aeson-add-loop.patch";
url = "https://github.com/k0001/pipes-aeson/commit/d22133b4a678edbb52bcaec5079dc88ccc0de1d3.patch";
sha256 = "sha256-5o5ys1P1+QB4rjLCYok5AcPRWCtRiecP/TqCFm8ulVY=";
includes = ["src/Pipes/Aeson.hs" "src/Pipes/Aeson/Internal.hs" "src/Pipes/Aeson/Unchecked.hs"];
})
# https://github.com/k0001/pipes-aeson/pull/20
(fetchpatch {
name = "pipes-aeson-aeson-2.patch";
url = "https://github.com/hercules-ci/pipes-aeson/commit/ac735c9cd459c6ef51ba82325d1c55eb67cb7b2c.patch";
sha256 = "sha256-viWZ6D5t79x50RXiOjP6UeQ809opgNFYZOP+h+1KJh0=";
includes = ["src/Pipes/Aeson.hs" "src/Pipes/Aeson/Internal.hs" "src/Pipes/Aeson/Unchecked.hs"];
})
] super.pipes-aeson;
# https://github.com/k0001/pipes-aeson/pull/21
pipes-aeson = appendPatch (fetchpatch {
url = "https://github.com/k0001/pipes-aeson/commit/08c25865ef557b41d7e4a783f52e655d2a193e18.patch";
relative = "pipes-aeson";
sha256 = "sha256-kFV6CcwKdMq+qSgyc+eIApnaycq5A++pEEVr2A9xvts=";
}) super.pipes-aeson;
# Needs bytestring 0.11
# https://github.com/Gabriella439/Haskell-Pipes-HTTP-Library/pull/17
@@ -1971,7 +1961,7 @@ self: super: {
relative = "moto-postgresql";
sha256 = "sha256-f2JVX9VveShCeV+T41RQgacpUoh1izfyHlE6VlErkZM=";
})
] (unmarkBroken super.moto-postgresql);
] super.moto-postgresql;
moto = appendPatches [
# https://gitlab.com/k0001/moto/-/merge_requests/3

View File

@@ -4521,7 +4521,6 @@ broken-packages:
- pinchot # failure in job https://hydra.nixos.org/build/233230585 at 2023-09-02
- piped # failure in job https://hydra.nixos.org/build/252729903 at 2024-03-16
- Pipe # failure in job https://hydra.nixos.org/build/233243604 at 2023-09-02
- pipes-aeson # failure in job https://hydra.nixos.org/build/252733735 at 2024-03-16
- pipes-async # failure in job https://hydra.nixos.org/build/233194729 at 2023-09-02
- pipes-bgzf # failure in job https://hydra.nixos.org/build/233238921 at 2023-09-02
- pipes-break # failure in job https://hydra.nixos.org/build/233250730 at 2023-09-02

View File

@@ -2770,8 +2770,6 @@ dont-distribute-packages:
- morloc
- morpheus-graphql
- morphisms-functors-inventory
- moto
- moto-postgresql
- motor
- motor-diagrams
- mp

View File

@@ -211101,7 +211101,6 @@ self: {
];
description = "General purpose migrations library";
license = lib.licenses.asl20;
hydraPlatforms = lib.platforms.none;
}) {};
"moto-postgresql" = callPackage
@@ -211118,7 +211117,6 @@ self: {
];
description = "PostgreSQL-based migrations registry for moto";
license = lib.licenses.asl20;
hydraPlatforms = lib.platforms.none;
}) {};
"motor" = callPackage
@@ -237694,8 +237692,6 @@ self: {
];
description = "Encode and decode JSON streams using Aeson and Pipes";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
broken = true;
}) {};
"pipes-async" = callPackage