Merge pull request #137348 from lukegb/staging-next-crev
cargo-crev: 0.19.4 -> 0.20.1
This commit is contained in:
commit
f2f8e28220
2 changed files with 16 additions and 6 deletions
|
@ -3,28 +3,38 @@
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, perl
|
, perl
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
, SystemConfiguration
|
||||||
, Security
|
, Security
|
||||||
, curl
|
, curl
|
||||||
, libiconv
|
, libiconv
|
||||||
, openssl
|
, openssl
|
||||||
|
, git
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-crev";
|
pname = "cargo-crev";
|
||||||
version = "0.19.4";
|
version = "0.20.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "crev-dev";
|
owner = "crev-dev";
|
||||||
repo = "cargo-crev";
|
repo = "cargo-crev";
|
||||||
rev = "v${version}";
|
rev = version;
|
||||||
sha256 = "sha256-XwwzMo06TdyOtGE9Z48mkEr6DnB/89wtMrW+UWr0G/Q=";
|
sha256 = "sha256-j2dafXUI6rDEYboSAciMeNma/YaBYKuQZgMUGVU+oBQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-gA2Fg4CCi0W+GqJoNPZWw/OjNYh2U2UsC6eMZ9W1QN8=";
|
cargoSha256 = "sha256-khrpS6QFpweKbTbR0YhAJTTrgDoZl9fzYPDs+JE1mtA=";
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
export HOME=$(mktemp -d)
|
||||||
|
git config --global user.name "Nixpkgs Test"
|
||||||
|
git config --global user.email "nobody@example.com"
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ perl pkg-config ];
|
nativeBuildInputs = [ perl pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security libiconv curl ];
|
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ SystemConfiguration Security libiconv curl ];
|
||||||
|
|
||||||
|
checkInputs = [ git ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A cryptographically verifiable code review system for the cargo (Rust) package manager";
|
description = "A cryptographically verifiable code review system for the cargo (Rust) package manager";
|
||||||
|
|
|
@ -12324,7 +12324,7 @@ with pkgs;
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
cargo-crev = callPackage ../development/tools/rust/cargo-crev {
|
cargo-crev = callPackage ../development/tools/rust/cargo-crev {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||||
};
|
};
|
||||||
cargo-cross = callPackage ../development/tools/rust/cargo-cross { };
|
cargo-cross = callPackage ../development/tools/rust/cargo-cross { };
|
||||||
cargo-deny = callPackage ../development/tools/rust/cargo-deny {
|
cargo-deny = callPackage ../development/tools/rust/cargo-deny {
|
||||||
|
|
Loading…
Reference in a new issue