Merge pull request #194220 from figsoda/cargo-lock
cargo-lock: init at 8.0.2
This commit is contained in:
commit
851632706f
2 changed files with 24 additions and 0 deletions
23
pkgs/development/tools/rust/cargo-lock/default.nix
Normal file
23
pkgs/development/tools/rust/cargo-lock/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ lib, rustPlatform, fetchCrate }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-lock";
|
||||
version = "8.0.2";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-I64LXY8e8ztICS6AKfrNr/7Ntap7ESjindNWEeny6ZA=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-Yy7KQvPeyw5YSzUmoxUJAueVzkfQqDPE1j2+L+KifpU=";
|
||||
|
||||
buildFeatures = [ "cli" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Self-contained Cargo.lock parser with graph analysis";
|
||||
homepage = "https://github.com/rustsec/rustsec/tree/main/cargo-lock";
|
||||
changelog = "https://github.com/rustsec/rustsec/blob/cargo-lock/v${version}/cargo-lock/CHANGELOG.md";
|
||||
license = with licenses; [ asl20 /* or */ mit ];
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
|
@ -14698,6 +14698,7 @@ with pkgs;
|
|||
cargo-hack = callPackage ../development/tools/rust/cargo-hack { };
|
||||
cargo-license = callPackage ../development/tools/rust/cargo-license { };
|
||||
cargo-llvm-lines = callPackage ../development/tools/rust/cargo-llvm-lines { };
|
||||
cargo-lock = callPackage ../development/tools/rust/cargo-lock { };
|
||||
cargo-outdated = callPackage ../development/tools/rust/cargo-outdated {
|
||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue