kore: use libpq 17

This commit is contained in:
Wolfgang Walther
2025-04-05 13:41:25 +02:00
parent 566dcac043
commit 71526b0da2
+15 -4
View File
@@ -2,15 +2,15 @@
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 {
@@ -20,15 +20,26 @@ stdenv.mkDerivation rec {
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 = [