nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at litex 23 lines 722 B view raw
1{ lib, rustPlatform, fetchCrate }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "cargo-lock"; 5 version = "9.0.0"; 6 7 src = fetchCrate { 8 inherit pname version; 9 hash = "sha256-SMxM66qo3Xmst+SVXu4LYZ0Zzn15wqVVNqqHzAkip/s="; 10 }; 11 12 cargoHash = "sha256-wUp4zBY64MvD4anGlVsJrI3pyfwVSQGnn6YuweTeYNk="; 13 14 buildFeatures = [ "cli" ]; 15 16 meta = with lib; { 17 description = "Self-contained Cargo.lock parser with graph analysis"; 18 homepage = "https://github.com/rustsec/rustsec/tree/main/cargo-lock"; 19 changelog = "https://github.com/rustsec/rustsec/blob/cargo-lock/v${version}/cargo-lock/CHANGELOG.md"; 20 license = with licenses; [ asl20 /* or */ mit ]; 21 maintainers = with maintainers; [ figsoda ]; 22 }; 23}