cargo-pgrx_0_12_5: init

Additionally, fix broken darwin build for all versions above 0.12.0.
This commit is contained in:
Diogo Correia
2024-11-23 09:56:24 +00:00
parent 15db220b93
commit c8610bba9f
2 changed files with 9 additions and 4 deletions
@@ -24,14 +24,12 @@ let
inherit cargoHash;
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [
nativeBuildInputs = [
pkg-config
];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
buildInputs = [
openssl
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
];
preCheck = ''
@@ -60,6 +58,12 @@ in
cargoHash = "sha256-9XTIcpoCnROP63ZTDgMMMmj0kPggiTazKlKQfCgXKzk=";
};
cargo-pgrx_0_12_5 = generic {
version = "0.12.5";
hash = "sha256-U2kF+qjQwMTaocv5f4p5y3qmPUsTzdvAp8mz9cn/COw=";
cargoHash = "sha256-nEgIOBGNG3TupA55/TgoXDPeJzjBjOGGfK+WjrH06VY=";
};
cargo-pgrx_0_12_6 = generic {
version = "0.12.6";
hash = "sha256-7aQkrApALZe6EoQGVShGBj0UIATnfOy2DytFj9IWdEA=";
+1
View File
@@ -6976,6 +6976,7 @@ with pkgs;
};
inherit (callPackages ../development/tools/rust/cargo-pgrx { })
cargo-pgrx_0_12_0_alpha_1
cargo-pgrx_0_12_5
cargo-pgrx_0_12_6
;
cargo-pgrx = cargo-pgrx_0_12_6;