postgresqlPackages: some cleanup (#343309)

This commit is contained in:
Franz Pletz 2024-09-25 17:29:40 +02:00 committed by GitHub
commit f6e93ec992
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, postgresql, openssl, zlib, readline, libkrb5, libxcrypt }:
{ lib, stdenv, fetchFromGitHub, postgresql }:
stdenv.mkDerivation rec {
pname = "pg_auto_failover";

View File

@ -4,7 +4,6 @@
, postgresql
, postgresqlTestHook
, testers
, zlib
}:
stdenv.mkDerivation (finalAttrs: {

View File

@ -12,7 +12,9 @@ stdenv.mkDerivation {
};
buildInputs = [ postgresql gcc ];
buildPhase = "USE_PGXS=1 make";
makeFlags = [ "USE_PGXS=1" ];
installPhase = ''
install -D pg_similarity${postgresql.dlSuffix} -t $out/lib/
install -D ./{pg_similarity--unpackaged--1.0.sql,pg_similarity--1.0.sql,pg_similarity.control} -t $out/share/postgresql/extension

View File

@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ R postgresql ];
preBuild = ''
export USE_PGXS=1
'';
makeFlags = [ "USE_PGXS=1" ];
installPhase = ''
install -D plr${postgresql.dlSuffix} -t $out/lib/
install -D {plr--*.sql,plr.control} -t $out/share/postgresql/extension

View File

@ -5,7 +5,6 @@
, flex
, curl
, json_c
, libxcrypt
}:
stdenv.mkDerivation rec {

View File

@ -6,7 +6,7 @@
}:
stdenv.mkDerivation rec {
pname = "system_stats";
version = "3.0";
version = "3.2";
buildInputs = [ postgresql ];
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
owner = "EnterpriseDB";
repo = "system_stats";
rev = "v${version}";
hash = "sha256-LuX7/LOi0rl6L/kjbjq7rr2zPcGIOYB7hdZBNJ9xqak=";
hash = "sha256-/xXnui0S0ZjRw7P8kMAgttHVv8T41aOhM3pM8P0OTig=";
};
installPhase = ''