Unverified Commit edea65ca authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #226679 from figsoda/cargo-release

parents 6bff2367 dc60c10a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -165,7 +165,7 @@ dependencies = [

[[package]]
name = "cargo-release"
version = "0.24.9"
version = "0.24.10"
dependencies = [
 "anyhow",
 "assert_fs",
+6 −3
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
, rustPlatform
, fetchFromGitHub
, pkg-config
, libgit2_1_5
, openssl
, stdenv
, curl
@@ -11,13 +12,13 @@

rustPlatform.buildRustPackage rec {
  pname = "cargo-release";
  version = "0.24.9";
  version = "0.24.10";

  src = fetchFromGitHub {
    owner = "crate-ci";
    repo = "cargo-release";
    rev = "refs/tags/v${version}";
    hash = "sha256-J71TfOG9gagp2YbsEq2z8fCwBTMJmkYhY5Gl4lB+cDI=";
    hash = "sha256-3kOis5C0XOdp0CCCSZ8PoGtePqW7ozwzSTA9TGe7kAg=";
  };

  cargoLock = {
@@ -32,6 +33,7 @@ rustPlatform.buildRustPackage rec {
  ];

  buildInputs = [
    libgit2_1_5
    openssl
  ] ++ lib.optionals stdenv.isDarwin [
    curl
@@ -42,7 +44,8 @@ rustPlatform.buildRustPackage rec {
    git
  ];

  OPENSSL_NO_VENDOR = true;
  # disable vendored-libgit2 and vendored-openssl
  buildNoDefaultFeatures = true;

  meta = with lib; {
    description = ''Cargo subcommand "release": everything about releasing a rust crate'';