diff options
author | Eric Wolf <eric.wolf@vier.ai> | 2023-03-20 11:45:10 +0100 |
---|---|---|
committer | Yt <happysalada@proton.me> | 2023-04-23 15:23:38 -0400 |
commit | 815fed2e05a17838b7c3f6be448428fa5fccd1e4 (patch) | |
tree | c3f52d0509afd41ea26a7c1cac1b229e013eb6f0 /pkgs/development | |
parent | 8f33856a79e28b6370357d149e39536ba24d3b89 (diff) |
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
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/tools/rust/cargo-pgx/0_6_1.nix (renamed from pkgs/development/tools/rust/cargo-pgx/default.nix) | 0 | ||||
-rw-r--r-- | pkgs/development/tools/rust/cargo-pgx/0_7_1.nix | 25 | ||||
-rw-r--r-- | pkgs/development/tools/rust/cargo-pgx/0_7_4.nix | 25 |
3 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/development/tools/rust/cargo-pgx/default.nix b/pkgs/development/tools/rust/cargo-pgx/0_6_1.nix index 004b6ed27543e..004b6ed27543e 100644 --- a/pkgs/development/tools/rust/cargo-pgx/default.nix +++ b/pkgs/development/tools/rust/cargo-pgx/0_6_1.nix diff --git a/pkgs/development/tools/rust/cargo-pgx/0_7_1.nix b/pkgs/development/tools/rust/cargo-pgx/0_7_1.nix new file mode 100644 index 0000000000000..408244f638bed --- /dev/null +++ b/pkgs/development/tools/rust/cargo-pgx/0_7_1.nix @@ -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 ]; + }; +} diff --git a/pkgs/development/tools/rust/cargo-pgx/0_7_4.nix b/pkgs/development/tools/rust/cargo-pgx/0_7_4.nix new file mode 100644 index 0000000000000..e54a3c6a877ea --- /dev/null +++ b/pkgs/development/tools/rust/cargo-pgx/0_7_4.nix @@ -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 ]; + }; +} |