Unverified Commit c8610bba authored by Diogo Correia's avatar Diogo Correia
Browse files

cargo-pgrx_0_12_5: init

Additionally, fix broken darwin build for all versions above 0.12.0.
parent 15db220b
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
@@ -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;