kore: use libpq 17

Changed files
+15 -4
pkgs
by-name
ko
+15 -4
pkgs/by-name/ko/kore/package.nix
···
lib,
stdenv,
fetchFromGitHub,
+
fetchpatch,
openssl,
curl,
-
postgresql_16,
+
libpq,
yajl,
}:
stdenv.mkDerivation rec {
pname = "kore";
-
# TODO: Check on next update whether postgresql 17 is supported.
version = "4.2.3";
src = fetchFromGitHub {
···
sha256 = "sha256-p0M2P02xwww5EnT28VnEtj5b+/jkPW3YkJMuK79vp4k=";
};
+
patches = [
+
(fetchpatch {
+
url = "https://github.com/jorisvink/kore/commit/978cb0ab79c9c939c35996f34f7d835f9c671831.patch";
+
hash = "sha256-uHTWiliM4m2i9/6GQQfnAo31XBXd/2+fzysPeNo2dQ0=";
+
})
+
(fetchpatch {
+
url = "https://github.com/jorisvink/kore/commit/6122affe22bf676eed0f544e421c53699aa7a2e2.patch";
+
hash = "sha256-xaiUOjBJPEgEwwuseXe6VbOTkOCKdQ5tuwDdL7DojHM=";
+
})
+
];
+
buildInputs = [
openssl
curl
-
postgresql_16
+
libpq
yajl
];
nativeBuildInputs = [
-
postgresql_16.pg_config
+
libpq.pg_config
];
makeFlags = [