Merge pull request #294457 from wolfgangwalther/postgresql-ext
postgresqlPackages: fixing multiple build failures
This commit is contained in:
commit
d5fe7897b4
12 changed files with 8 additions and 17 deletions
|
@ -25,6 +25,5 @@ stdenv.mkDerivation rec {
|
|||
maintainers = with maintainers; [ ivan ];
|
||||
platforms = postgresql.meta.platforms;
|
||||
license = licenses.postgresql;
|
||||
broken = versionOlder postgresql.version "9.5";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11,8 +11,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-OIWykfFbVskrkPG/zSmZtZjc+W956KSfIzK7f5QOqpI=";
|
||||
};
|
||||
|
||||
buildInputs = [ postgresql openssl zlib readline libkrb5 ]
|
||||
++ lib.optionals (stdenv.isLinux && lib.versionOlder postgresql.version "13") [ libxcrypt ];
|
||||
buildInputs = postgresql.buildInputs ++ [ postgresql ];
|
||||
|
||||
installPhase = ''
|
||||
install -D -t $out/bin src/bin/pg_autoctl/pg_autoctl
|
||||
|
@ -28,6 +27,5 @@ stdenv.mkDerivation rec {
|
|||
maintainers = [ maintainers.marsam ];
|
||||
platforms = postgresql.meta.platforms;
|
||||
license = licenses.postgresql;
|
||||
broken = versionOlder postgresql.version "10";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -25,6 +25,5 @@ stdenv.mkDerivation rec {
|
|||
maintainers = with maintainers; [ ivan ];
|
||||
platforms = postgresql.meta.platforms;
|
||||
license = licenses.asl20;
|
||||
broken = versionOlder postgresql.version "12";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -30,6 +30,5 @@ stdenv.mkDerivation rec {
|
|||
maintainers = with maintainers; [ thoughtpolice ];
|
||||
platforms = postgresql.meta.platforms;
|
||||
license = licenses.postgresql;
|
||||
broken = versionOlder postgresql.version "12";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
pname = "pg_repack";
|
||||
version = "1.5.0";
|
||||
|
||||
buildInputs = [ postgresql openssl zlib readline ];
|
||||
buildInputs = postgresql.buildInputs ++ [ postgresql ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "reorg";
|
||||
|
|
|
@ -41,7 +41,6 @@ stdenv.mkDerivation rec {
|
|||
changelog = "https://github.com/okbob/plpgsql_check/releases/tag/v${version}";
|
||||
platforms = postgresql.meta.platforms;
|
||||
license = licenses.mit;
|
||||
broken = versionOlder postgresql.version "12";
|
||||
maintainers = [ maintainers.marsam ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ index 38879cc..6e78eeb 100644
|
|||
@@ -20,6 +20,7 @@ OBJS = $(SRCS:.cc=.o)
|
||||
MODULE_big = plv8-$(PLV8_VERSION)
|
||||
EXTENSION = plv8
|
||||
PLV8_DATA = plv8.control plv8--$(PLV8_VERSION).sql $(wildcard upgrade/*.sql)
|
||||
PLV8_DATA = plv8.control plv8--$(PLV8_VERSION).sql
|
||||
+USE_SYSTEM_V8 = 0
|
||||
|
||||
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "plv8";
|
||||
version = "3.1.5";
|
||||
version = "3.1.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "plv8";
|
||||
repo = "plv8";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-LodC2eQJSm5fLckrjm2RuejZhmOyQMJTv9b0iPCnzKQ=";
|
||||
hash = "sha256-g1A/XPC0dX2360Gzvmo9/FSQnM6Wt2K4eR0pH0p9fz4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
@ -83,6 +83,5 @@ stdenv.mkDerivation rec {
|
|||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; teams.geospatial.members ++ [ marcweber ];
|
||||
inherit (postgresql.meta) platforms;
|
||||
broken = versionOlder postgresql.version "12";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -54,7 +54,6 @@ buildPgxExtension rec {
|
|||
license = licenses.unfree;
|
||||
|
||||
# as it needs to be used with timescaledb, simply use the condition from there
|
||||
broken = versionOlder postgresql.version "12"
|
||||
|| versionAtLeast postgresql.version "15";
|
||||
broken = versionAtLeast postgresql.version "15";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -24,8 +24,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ flex ];
|
||||
|
||||
buildInputs = [ postgresql openssl zlib readline curl json_c ]
|
||||
++ lib.optionals (stdenv.isLinux && lib.versionOlder postgresql.version "13") [ libxcrypt ];
|
||||
buildInputs = postgresql.buildInputs ++ [ postgresql curl json_c ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/{bin,lib,share/postgresql/extension}
|
||||
|
|
|
@ -62,6 +62,6 @@ in
|
|||
license = licenses.asl20;
|
||||
|
||||
# as it needs to be used with timescaledb, simply use the condition from there
|
||||
broken = versionOlder postgresql.version "12" || stdenv.isDarwin;
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue