cargo-pgx: init at 0.4.5
This commit is contained in:
parent
f35f4a28a6
commit
a37dd32ab6
25
pkgs/development/tools/rust/cargo-pgx/default.nix
Normal file
25
pkgs/development/tools/rust/cargo-pgx/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib, stdenv, fetchCrate, rustPlatform, pkg-config, openssl, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-pgx";
|
||||
version = "0.4.5";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit version pname;
|
||||
sha256 = "sha256-BcMGa/1ATwLG8VnwItfd5eqmrck/u0MEoR5sA2yuzyQ=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-urlwqBCZMxlPEjLLPBhI2lDNTusCSZ1bZu1p8poVrtw=";
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -14223,6 +14223,9 @@ with pkgs;
|
||||
cargo-outdated = callPackage ../development/tools/rust/cargo-outdated {
|
||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||
};
|
||||
cargo-pgx = callPackage ../development/tools/rust/cargo-pgx {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
cargo-release = callPackage ../development/tools/rust/cargo-release {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user