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-21 11:21:27 +00:00
parent 15db220b93
commit c8610bba9f
No known key found for this signature in database
GPG Key ID: 12B4F3AC9C065D08
2 changed files with 9 additions and 4 deletions

View File

@ -24,14 +24,12 @@ let
inherit cargoHash; inherit cargoHash;
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ nativeBuildInputs = [
pkg-config pkg-config
]; ];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ buildInputs = [
openssl openssl
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
]; ];
preCheck = '' preCheck = ''
@ -60,6 +58,12 @@ in
cargoHash = "sha256-9XTIcpoCnROP63ZTDgMMMmj0kPggiTazKlKQfCgXKzk="; 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 { cargo-pgrx_0_12_6 = generic {
version = "0.12.6"; version = "0.12.6";
hash = "sha256-7aQkrApALZe6EoQGVShGBj0UIATnfOy2DytFj9IWdEA="; hash = "sha256-7aQkrApALZe6EoQGVShGBj0UIATnfOy2DytFj9IWdEA=";

View File

@ -6976,6 +6976,7 @@ with pkgs;
}; };
inherit (callPackages ../development/tools/rust/cargo-pgrx { }) inherit (callPackages ../development/tools/rust/cargo-pgrx { })
cargo-pgrx_0_12_0_alpha_1 cargo-pgrx_0_12_0_alpha_1
cargo-pgrx_0_12_5
cargo-pgrx_0_12_6 cargo-pgrx_0_12_6
; ;
cargo-pgrx = cargo-pgrx_0_12_6; cargo-pgrx = cargo-pgrx_0_12_6;