nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchCrate,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "rust-audit-info";
9 version = "0.5.4";
10
11 src = fetchCrate {
12 inherit pname version;
13 hash = "sha256-zxdF65/9cgdDLM7HA30NCEZj1S5SogH+oM3aq55K0os=";
14 };
15
16 cargoHash = "sha256-ygz9uYwuDI892kwYwJPTsTAkBfsnRN2unOgqv8VHXSA=";
17
18 meta = {
19 description = "Command-line tool to extract the dependency trees embedded in binaries by cargo-auditable";
20 mainProgram = "rust-audit-info";
21 homepage = "https://github.com/rust-secure-code/cargo-auditable/tree/master/rust-audit-info";
22 license = with lib.licenses; [
23 mit # or
24 asl20
25 ];
26 maintainers = [ ];
27 };
28}