cargo-pgx: 0.6.1 -> 0.7.4, keep 0.6.1, add 0.7.1
0.6.1 keeping until timescaledb_toolkit got upgraded to 1.15.0 0.7.1 because timescaledb_toolkit 1.15.0 needs it 0.7.4 because it is the most recent cargo-pgx version
This commit is contained in:
parent
8f33856a79
commit
815fed2e05
25
pkgs/development/tools/rust/cargo-pgx/0_7_1.nix
Normal file
25
pkgs/development/tools/rust/cargo-pgx/0_7_1.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib, stdenv, fetchCrate, rustPlatform, pkg-config, openssl, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-pgx";
|
||||
version = "0.7.1";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit version pname;
|
||||
sha256 = "sha256-t/gdlrBeP6KFkBFJiZUa8KKVJVYMf6753vQGKJdytss=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-muce9wT4LAJmfNLWWEShARnpZgglXe/KrfxlitmGgXk=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cargo subcommand for ‘pgx’ to make Postgres extension development easy";
|
||||
homepage = "https://github.com/tcdi/pgx/tree/v${version}/cargo-pgx";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ typetetris ];
|
||||
};
|
||||
}
|
25
pkgs/development/tools/rust/cargo-pgx/0_7_4.nix
Normal file
25
pkgs/development/tools/rust/cargo-pgx/0_7_4.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib, stdenv, fetchCrate, rustPlatform, pkg-config, openssl, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-pgx";
|
||||
version = "0.7.4";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit version pname;
|
||||
sha256 = "sha256-uyMWfxI+A8mws8oZFm2pmvr7hJgSNIb328SrVtIDGdA=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-RgpL/hJdfrtLDANs5U53m5a6aEEAhZ9SFOIM7V8xABM=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cargo subcommand for ‘pgx’ to make Postgres extension development easy";
|
||||
homepage = "https://github.com/tcdi/pgx/tree/v${version}/cargo-pgx";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ typetetris ];
|
||||
};
|
||||
}
|
@ -4,9 +4,10 @@
|
||||
, postgresql
|
||||
, stdenv
|
||||
, nixosTests
|
||||
, cargo-pgx_0_6_1
|
||||
}:
|
||||
|
||||
buildPgxExtension rec {
|
||||
(buildPgxExtension.override {cargo-pgx = cargo-pgx_0_6_1;})rec {
|
||||
inherit postgresql;
|
||||
|
||||
pname = "timescaledb_toolkit";
|
||||
|
@ -16097,9 +16097,16 @@ with pkgs;
|
||||
cargo-outdated = callPackage ../development/tools/rust/cargo-outdated {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration;
|
||||
};
|
||||
cargo-pgx = callPackage ../development/tools/rust/cargo-pgx {
|
||||
cargo-pgx_0_6_1 = callPackage ../development/tools/rust/cargo-pgx/0_6_1.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
cargo-pgx_0_7_1 = callPackage ../development/tools/rust/cargo-pgx/0_7_1.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
cargo-pgx_0_7_4 = callPackage ../development/tools/rust/cargo-pgx/0_7_4.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
cargo-pgx = cargo-pgx_0_7_4;
|
||||
buildPgxExtension = callPackage ../development/tools/rust/cargo-pgx/buildPgxExtension.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user