Merge pull request #275614 from SFrijters/haskell-packages-postgrest-update-fix
haskellPackages.postgrest: 10.1.1 -> 12.0.2 and fix build
This commit is contained in:
commit
f8fc00b94d
7 changed files with 55 additions and 21 deletions
|
@ -2714,19 +2714,24 @@ self: super: {
|
||||||
co-log-polysemy = doJailbreak super.co-log-polysemy;
|
co-log-polysemy = doJailbreak super.co-log-polysemy;
|
||||||
co-log-polysemy-formatting = doJailbreak super.co-log-polysemy-formatting;
|
co-log-polysemy-formatting = doJailbreak super.co-log-polysemy-formatting;
|
||||||
|
|
||||||
# 2022-12-02: Needs newer postgrest package
|
# 2023-12-20: Needs newer hasql-pool package and extra dependencies
|
||||||
# 2022-12-02: Hackage release lags behind actual releases: https://github.com/PostgREST/postgrest/issues/2275
|
postgrest = lib.pipe (super.postgrest.overrideScope (lself: lsuper: {
|
||||||
# 2022-12-02: Too strict bounds: https://github.com/PostgREST/postgrest/issues/2580
|
hasql-pool = lself.hasql-pool_0_10;
|
||||||
# 2022-12-02: Tests require running postresql server
|
})) [
|
||||||
postgrest = dontCheck (doJailbreak (overrideSrc rec {
|
(addBuildDepends [ self.extra self.fuzzyset_0_2_4 self.cache self.timeit ])
|
||||||
version = "10.1.1";
|
# 2022-12-02: Too strict bounds: https://github.com/PostgREST/postgrest/issues/2580
|
||||||
src = pkgs.fetchFromGitHub {
|
doJailbreak
|
||||||
owner = "PostgREST";
|
# 2022-12-02: Hackage release lags behind actual releases: https://github.com/PostgREST/postgrest/issues/2275
|
||||||
repo = "postgrest";
|
(overrideSrc rec {
|
||||||
rev = "v${version}";
|
version = "12.0.2";
|
||||||
sha256 = "sha256-ceSPBH+lzGU1OwjolcaE1BCpkKCJrvMU5G8TPeaJesM=";
|
src = pkgs.fetchFromGitHub {
|
||||||
};
|
owner = "PostgREST";
|
||||||
} super.postgrest));
|
repo = "postgrest";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-fpGeL8R6hziEtIgHUMfWLF7JAjo3FDYQw3xPSeQH+to=";
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
html-charset = dontCheck super.html-charset;
|
html-charset = dontCheck super.html-charset;
|
||||||
|
|
||||||
|
@ -2820,4 +2825,8 @@ self: super: {
|
||||||
ghc-syntax-highlighter = self.ghc-syntax-highlighter_0_0_10_0;
|
ghc-syntax-highlighter = self.ghc-syntax-highlighter_0_0_10_0;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
# 2024-01-01: Too strict bounds on megaparsec
|
||||||
|
# Fixed in 0.2.8: https://github.com/PostgREST/configurator-pg/pull/20
|
||||||
|
configurator-pg = doJailbreak super.configurator-pg;
|
||||||
|
|
||||||
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
|
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
|
||||||
|
|
|
@ -889,7 +889,6 @@ broken-packages:
|
||||||
- config-parser # failure in job https://hydra.nixos.org/build/233206136 at 2023-09-02
|
- config-parser # failure in job https://hydra.nixos.org/build/233206136 at 2023-09-02
|
||||||
- Configurable # failure in job https://hydra.nixos.org/build/233200781 at 2023-09-02
|
- Configurable # failure in job https://hydra.nixos.org/build/233200781 at 2023-09-02
|
||||||
- configuration # failure in job https://hydra.nixos.org/build/233195399 at 2023-09-02
|
- configuration # failure in job https://hydra.nixos.org/build/233195399 at 2023-09-02
|
||||||
- configurator-pg # failure in job https://hydra.nixos.org/build/233219556 at 2023-09-02
|
|
||||||
- config-value-getopt # failure in job https://hydra.nixos.org/build/233204566 at 2023-09-02
|
- config-value-getopt # failure in job https://hydra.nixos.org/build/233204566 at 2023-09-02
|
||||||
- confsolve # failure in job https://hydra.nixos.org/build/233194913 at 2023-09-02
|
- confsolve # failure in job https://hydra.nixos.org/build/233194913 at 2023-09-02
|
||||||
- congruence-relation # failure in job https://hydra.nixos.org/build/233222125 at 2023-09-02
|
- congruence-relation # failure in job https://hydra.nixos.org/build/233222125 at 2023-09-02
|
||||||
|
@ -1749,7 +1748,6 @@ broken-packages:
|
||||||
- future # failure in job https://hydra.nixos.org/build/233224844 at 2023-09-02
|
- future # failure in job https://hydra.nixos.org/build/233224844 at 2023-09-02
|
||||||
- futures # failure in job https://hydra.nixos.org/build/233230206 at 2023-09-02
|
- futures # failure in job https://hydra.nixos.org/build/233230206 at 2023-09-02
|
||||||
- fuzzyfind # failure in job https://hydra.nixos.org/build/233206269 at 2023-09-02
|
- fuzzyfind # failure in job https://hydra.nixos.org/build/233206269 at 2023-09-02
|
||||||
- fuzzyset # failure in job https://hydra.nixos.org/build/233231726 at 2023-09-02
|
|
||||||
- fuzzy-timings # failure in job https://hydra.nixos.org/build/233235765 at 2023-09-02
|
- fuzzy-timings # failure in job https://hydra.nixos.org/build/233235765 at 2023-09-02
|
||||||
- fvars # failure in job https://hydra.nixos.org/build/234461649 at 2023-09-13
|
- fvars # failure in job https://hydra.nixos.org/build/234461649 at 2023-09-13
|
||||||
- fwgl # failure in job https://hydra.nixos.org/build/233246210 at 2023-09-02
|
- fwgl # failure in job https://hydra.nixos.org/build/233246210 at 2023-09-02
|
||||||
|
|
|
@ -147,6 +147,7 @@ extra-packages:
|
||||||
- shake-cabal < 0.2.2.3 # 2023-07-01: last version to support Cabal 3.6.*
|
- shake-cabal < 0.2.2.3 # 2023-07-01: last version to support Cabal 3.6.*
|
||||||
- unix-compat < 0.7 # 2023-07-04: Need System.PosixCompat.User for git-annex
|
- unix-compat < 0.7 # 2023-07-04: Need System.PosixCompat.User for git-annex
|
||||||
- algebraic-graphs < 0.7 # 2023-08-14: Needed for building weeder < 2.6.0
|
- algebraic-graphs < 0.7 # 2023-08-14: Needed for building weeder < 2.6.0
|
||||||
|
- fuzzyset == 0.2.4 # 2023-12-20: Needed for building postgrest > 10
|
||||||
|
|
||||||
package-maintainers:
|
package-maintainers:
|
||||||
abbradar:
|
abbradar:
|
||||||
|
|
|
@ -3114,7 +3114,6 @@ dont-distribute-packages:
|
||||||
- postgresql-tx-query
|
- postgresql-tx-query
|
||||||
- postgresql-tx-squeal
|
- postgresql-tx-squeal
|
||||||
- postgresql-tx-squeal-compat-simple
|
- postgresql-tx-squeal-compat-simple
|
||||||
- postgrest
|
|
||||||
- postmark
|
- postmark
|
||||||
- potoki
|
- potoki
|
||||||
- potoki-cereal
|
- potoki-cereal
|
||||||
|
|
|
@ -422,8 +422,18 @@ self: super: builtins.intersectAttrs super {
|
||||||
hasql-interpolate = dontCheck super.hasql-interpolate;
|
hasql-interpolate = dontCheck super.hasql-interpolate;
|
||||||
hasql-notifications = dontCheck super.hasql-notifications;
|
hasql-notifications = dontCheck super.hasql-notifications;
|
||||||
hasql-pool = dontCheck super.hasql-pool;
|
hasql-pool = dontCheck super.hasql-pool;
|
||||||
|
hasql-pool_0_10 = dontCheck super.hasql-pool_0_10;
|
||||||
hasql-transaction = dontCheck super.hasql-transaction;
|
hasql-transaction = dontCheck super.hasql-transaction;
|
||||||
|
|
||||||
|
# Test suite requires a running postgresql server,
|
||||||
|
# avoid compiling twice by providing executable as a separate output (with small closure size),
|
||||||
|
# generate shell completion
|
||||||
|
postgrest = lib.pipe super.postgrest [
|
||||||
|
dontCheck
|
||||||
|
enableSeparateBinOutput
|
||||||
|
(self.generateOptparseApplicativeCompletions [ "postgrest" ])
|
||||||
|
];
|
||||||
|
|
||||||
# Tries to mess with extended POSIX attributes, but can't in our chroot environment.
|
# Tries to mess with extended POSIX attributes, but can't in our chroot environment.
|
||||||
xattr = dontCheck super.xattr;
|
xattr = dontCheck super.xattr;
|
||||||
|
|
||||||
|
|
|
@ -72116,8 +72116,6 @@ self: {
|
||||||
];
|
];
|
||||||
description = "Reduced parser for configurator-ng config files";
|
description = "Reduced parser for configurator-ng config files";
|
||||||
license = lib.licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
hydraPlatforms = lib.platforms.none;
|
|
||||||
broken = true;
|
|
||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
"conformance" = callPackage
|
"conformance" = callPackage
|
||||||
|
@ -112734,6 +112732,26 @@ self: {
|
||||||
broken = true;
|
broken = true;
|
||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
|
"fuzzyset_0_2_4" = callPackage
|
||||||
|
({ mkDerivation, base, data-default, hspec, ieee754, text
|
||||||
|
, text-metrics, unordered-containers, vector
|
||||||
|
}:
|
||||||
|
mkDerivation {
|
||||||
|
pname = "fuzzyset";
|
||||||
|
version = "0.2.4";
|
||||||
|
sha256 = "0rj6d5z2cy954w3xzq4dfn0i3dg2idb8y2lcf2f10ar42r58zhxn";
|
||||||
|
libraryHaskellDepends = [
|
||||||
|
base data-default text text-metrics unordered-containers vector
|
||||||
|
];
|
||||||
|
testHaskellDepends = [
|
||||||
|
base data-default hspec ieee754 text text-metrics
|
||||||
|
unordered-containers vector
|
||||||
|
];
|
||||||
|
description = "Fuzzy set for approximate string matching";
|
||||||
|
license = lib.licenses.bsd3;
|
||||||
|
hydraPlatforms = lib.platforms.none;
|
||||||
|
}) {};
|
||||||
|
|
||||||
"fuzzyset" = callPackage
|
"fuzzyset" = callPackage
|
||||||
({ mkDerivation, base, hspec, ieee754, mtl, text, text-metrics
|
({ mkDerivation, base, hspec, ieee754, mtl, text, text-metrics
|
||||||
, transformers, unordered-containers, vector
|
, transformers, unordered-containers, vector
|
||||||
|
@ -112751,8 +112769,6 @@ self: {
|
||||||
];
|
];
|
||||||
description = "Fuzzy set data structure for approximate string matching";
|
description = "Fuzzy set data structure for approximate string matching";
|
||||||
license = lib.licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
hydraPlatforms = lib.platforms.none;
|
|
||||||
broken = true;
|
|
||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
"fuzzytime" = callPackage
|
"fuzzytime" = callPackage
|
||||||
|
@ -238549,7 +238565,6 @@ self: {
|
||||||
];
|
];
|
||||||
description = "REST API for any Postgres database";
|
description = "REST API for any Postgres database";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
hydraPlatforms = lib.platforms.none;
|
|
||||||
mainProgram = "postgrest";
|
mainProgram = "postgrest";
|
||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
|
|
|
@ -27128,6 +27128,8 @@ with pkgs;
|
||||||
|
|
||||||
postgresqlTestHook = callPackage ../build-support/setup-hooks/postgresql-test-hook { };
|
postgresqlTestHook = callPackage ../build-support/setup-hooks/postgresql-test-hook { };
|
||||||
|
|
||||||
|
postgrest = haskellPackages.postgrest.bin;
|
||||||
|
|
||||||
redshift_jdbc = callPackage ../development/java-modules/redshift_jdbc { };
|
redshift_jdbc = callPackage ../development/java-modules/redshift_jdbc { };
|
||||||
|
|
||||||
liquibase_redshift_extension = callPackage ../development/java-modules/liquibase_redshift_extension { };
|
liquibase_redshift_extension = callPackage ../development/java-modules/liquibase_redshift_extension { };
|
||||||
|
|
Loading…
Reference in a new issue