mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
postgresqlPackages: some cleanup (#343309)
This commit is contained in:
commit
f6e93ec992
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, postgresql, openssl, zlib, readline, libkrb5, libxcrypt }:
|
||||
{ lib, stdenv, fetchFromGitHub, postgresql }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pg_auto_failover";
|
||||
|
@ -4,7 +4,6 @@
|
||||
, postgresql
|
||||
, postgresqlTestHook
|
||||
, testers
|
||||
, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -5,7 +5,6 @@
|
||||
, flex
|
||||
, curl
|
||||
, json_c
|
||||
, libxcrypt
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user