cargo-release: fix build, add figsoda as a maintainer

This commit is contained in:
figsoda 2023-01-18 19:10:57 -05:00
parent 1d72880e16
commit 163c469b24
2 changed files with 13 additions and 10 deletions

View file

@ -1,11 +1,12 @@
{ lib { lib
, stdenv
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, Security
, curl
, openssl
, pkg-config , pkg-config
, openssl
, stdenv
, curl
, darwin
, git
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -28,15 +29,19 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ buildInputs = [
openssl openssl
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
Security
curl curl
darwin.apple_sdk.frameworks.Security
];
checkInputs = [
git
]; ];
meta = with lib; { meta = with lib; {
description = ''Cargo subcommand "release": everything about releasing a rust crate''; description = ''Cargo subcommand "release": everything about releasing a rust crate'';
homepage = "https://github.com/sunng87/cargo-release"; homepage = "https://github.com/crate-ci/cargo-release";
changelog = "https://github.com/crate-ci/cargo-release/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/crate-ci/cargo-release/blob/v${version}/CHANGELOG.md";
license = with licenses; [ asl20 /* or */ mit ]; license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ gerschtli ]; maintainers = with maintainers; [ figsoda gerschtli ];
}; };
} }

View file

@ -15509,9 +15509,7 @@ with pkgs;
cargo-pgx = callPackage ../development/tools/rust/cargo-pgx { cargo-pgx = callPackage ../development/tools/rust/cargo-pgx {
inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security;
}; };
cargo-release = callPackage ../development/tools/rust/cargo-release { cargo-release = callPackage ../development/tools/rust/cargo-release { };
inherit (darwin.apple_sdk.frameworks) Security;
};
cargo-rr = callPackage ../development/tools/rust/cargo-rr { }; cargo-rr = callPackage ../development/tools/rust/cargo-rr { };
cargo-tarpaulin = callPackage ../development/tools/analysis/cargo-tarpaulin { cargo-tarpaulin = callPackage ../development/tools/analysis/cargo-tarpaulin {
inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security;