diff options
author | happysalada <raphael@megzari.com> | 2023-09-05 20:30:57 -0400 |
---|---|---|
committer | Yt <happysalada@tuta.io> | 2023-09-06 07:20:54 +0000 |
commit | 109efd459d6e397a9128b55f8d0138f1fa1380e3 (patch) | |
tree | d5850bdb6b4dcafffe7bdf0b66a95a4f3bc0504d /pkgs/development/tools/rust/cargo-pgrx | |
parent | 024f043a27715bda2b8dd409e2c5402ad2f6ee72 (diff) |
cargo-pgrx: 0.9.8 -> 0.10.0
Diffstat (limited to 'pkgs/development/tools/rust/cargo-pgrx')
-rw-r--r-- | pkgs/development/tools/rust/cargo-pgrx/default.nix | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/pkgs/development/tools/rust/cargo-pgrx/default.nix b/pkgs/development/tools/rust/cargo-pgrx/default.nix index ceab49a717805..d6cd2f39b61ba 100644 --- a/pkgs/development/tools/rust/cargo-pgrx/default.nix +++ b/pkgs/development/tools/rust/cargo-pgrx/default.nix @@ -2,23 +2,32 @@ let pname = "cargo-pgrx"; - version = "0.9.8"; + version = "0.10.0"; in rustPlatform.buildRustPackage rec { inherit version pname; src = fetchCrate { inherit version pname; - hash = "sha256-Sk9fz84EheP+Ohq2e2E1q7dKDPE2Y4QSsHGlNvNb/g0="; + hash = "sha256-iqKcYp0dsay3/OE+N6KLjGEnloaImyS5xNaVciOYERc="; }; - cargoHash = "sha256-MSANrOjpcyKuoxyomCspxjYwzlT7BLJE3CseczOfOJY="; + cargoHash = "sha256-IWqHt6RL5ICBarmVx7QNjt3JrS0JYi/odEjPkLYMsPI="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; + preCheck = '' + export PGRX_HOME=$(mktemp -d) + ''; + + checkFlags = [ + # requires pgrx to be properly initialized with cargo pgrx init + "--skip=command::schema::tests::test_parse_managed_postmasters" + ]; + meta = with lib; { description = "Build Postgres Extensions with Rust!"; homepage = "https://github.com/tcdi/pgrx"; |