figsoda 2023-04-17 12:23:24 -04:00
parent 7596db4b25
commit dc60c10a11
2 changed files with 7 additions and 4 deletions

View file

@ -165,7 +165,7 @@ dependencies = [
[[package]] [[package]]
name = "cargo-release" name = "cargo-release"
version = "0.24.9" version = "0.24.10"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"assert_fs", "assert_fs",

View file

@ -2,6 +2,7 @@
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, pkg-config , pkg-config
, libgit2_1_5
, openssl , openssl
, stdenv , stdenv
, curl , curl
@ -11,13 +12,13 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-release"; pname = "cargo-release";
version = "0.24.9"; version = "0.24.10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "crate-ci"; owner = "crate-ci";
repo = "cargo-release"; repo = "cargo-release";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-J71TfOG9gagp2YbsEq2z8fCwBTMJmkYhY5Gl4lB+cDI="; hash = "sha256-3kOis5C0XOdp0CCCSZ8PoGtePqW7ozwzSTA9TGe7kAg=";
}; };
cargoLock = { cargoLock = {
@ -32,6 +33,7 @@ rustPlatform.buildRustPackage rec {
]; ];
buildInputs = [ buildInputs = [
libgit2_1_5
openssl openssl
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
curl curl
@ -42,7 +44,8 @@ rustPlatform.buildRustPackage rec {
git git
]; ];
OPENSSL_NO_VENDOR = true; # disable vendored-libgit2 and vendored-openssl
buildNoDefaultFeatures = true;
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'';