lol

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

authored by

Eric Wolf and committed by
Yt
815fed2e 8f33856a

+60 -2
+25
pkgs/development/tools/rust/cargo-pgx/0_7_1.nix
··· 1 + { lib, stdenv, fetchCrate, rustPlatform, pkg-config, openssl, Security }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "cargo-pgx"; 5 + version = "0.7.1"; 6 + 7 + src = fetchCrate { 8 + inherit version pname; 9 + sha256 = "sha256-t/gdlrBeP6KFkBFJiZUa8KKVJVYMf6753vQGKJdytss="; 10 + }; 11 + 12 + cargoSha256 = "sha256-muce9wT4LAJmfNLWWEShARnpZgglXe/KrfxlitmGgXk="; 13 + 14 + nativeBuildInputs = [ pkg-config ]; 15 + 16 + buildInputs = [ openssl ] 17 + ++ lib.optionals stdenv.isDarwin [ Security ]; 18 + 19 + meta = with lib; { 20 + description = "Cargo subcommand for ‘pgx’ to make Postgres extension development easy"; 21 + homepage = "https://github.com/tcdi/pgx/tree/v${version}/cargo-pgx"; 22 + license = licenses.mit; 23 + maintainers = with maintainers; [ typetetris ]; 24 + }; 25 + }
+25
pkgs/development/tools/rust/cargo-pgx/0_7_4.nix
··· 1 + { lib, stdenv, fetchCrate, rustPlatform, pkg-config, openssl, Security }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "cargo-pgx"; 5 + version = "0.7.4"; 6 + 7 + src = fetchCrate { 8 + inherit version pname; 9 + sha256 = "sha256-uyMWfxI+A8mws8oZFm2pmvr7hJgSNIb328SrVtIDGdA="; 10 + }; 11 + 12 + cargoSha256 = "sha256-RgpL/hJdfrtLDANs5U53m5a6aEEAhZ9SFOIM7V8xABM="; 13 + 14 + nativeBuildInputs = [ pkg-config ]; 15 + 16 + buildInputs = [ openssl ] 17 + ++ lib.optionals stdenv.isDarwin [ Security ]; 18 + 19 + meta = with lib; { 20 + description = "Cargo subcommand for ‘pgx’ to make Postgres extension development easy"; 21 + homepage = "https://github.com/tcdi/pgx/tree/v${version}/cargo-pgx"; 22 + license = licenses.mit; 23 + maintainers = with maintainers; [ typetetris ]; 24 + }; 25 + }
pkgs/development/tools/rust/cargo-pgx/default.nix pkgs/development/tools/rust/cargo-pgx/0_6_1.nix
+2 -1
pkgs/servers/sql/postgresql/ext/timescaledb_toolkit.nix
··· 4 4 , postgresql 5 5 , stdenv 6 6 , nixosTests 7 + , cargo-pgx_0_6_1 7 8 }: 8 9 9 - buildPgxExtension rec { 10 + (buildPgxExtension.override {cargo-pgx = cargo-pgx_0_6_1;})rec { 10 11 inherit postgresql; 11 12 12 13 pname = "timescaledb_toolkit";
+8 -1
pkgs/top-level/all-packages.nix
··· 16097 16097 cargo-outdated = callPackage ../development/tools/rust/cargo-outdated { 16098 16098 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration; 16099 16099 }; 16100 - cargo-pgx = callPackage ../development/tools/rust/cargo-pgx { 16100 + cargo-pgx_0_6_1 = callPackage ../development/tools/rust/cargo-pgx/0_6_1.nix { 16101 + inherit (darwin.apple_sdk.frameworks) Security; 16102 + }; 16103 + cargo-pgx_0_7_1 = callPackage ../development/tools/rust/cargo-pgx/0_7_1.nix { 16104 + inherit (darwin.apple_sdk.frameworks) Security; 16105 + }; 16106 + cargo-pgx_0_7_4 = callPackage ../development/tools/rust/cargo-pgx/0_7_4.nix { 16101 16107 inherit (darwin.apple_sdk.frameworks) Security; 16102 16108 }; 16109 + cargo-pgx = cargo-pgx_0_7_4; 16103 16110 buildPgxExtension = callPackage ../development/tools/rust/cargo-pgx/buildPgxExtension.nix { 16104 16111 inherit (darwin.apple_sdk.frameworks) Security; 16105 16112 };