From d8f5613009a5334e4ea0911b2949c3706db3142b Mon Sep 17 00:00:00 2001 From: figsoda Date: Sat, 15 Oct 2022 17:25:23 -0400 Subject: [PATCH] rust-audit-info: init at 0.5.1 --- .../tools/rust/rust-audit-info/default.nix | 20 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 21 insertions(+) create mode 100644 pkgs/development/tools/rust/rust-audit-info/default.nix diff --git a/pkgs/development/tools/rust/rust-audit-info/default.nix b/pkgs/development/tools/rust/rust-audit-info/default.nix new file mode 100644 index 000000000000..b46bc7447e48 --- /dev/null +++ b/pkgs/development/tools/rust/rust-audit-info/default.nix @@ -0,0 +1,20 @@ +{ lib, rustPlatform, fetchCrate }: + +rustPlatform.buildRustPackage rec { + pname = "rust-audit-info"; + version = "0.5.1"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-oxlbtFDQj6nyBXzNczG6ZhSOHvVQjK1FimWm/pSZHtY="; + }; + + cargoSha256 = "sha256-Y+5OUfsmUhDP9Fn8s9nso0W25eTFodDIVEVusn6HRmk="; + + meta = with lib; { + description = "A command-line tool to extract the dependency trees embedded in binaries by cargo-auditable"; + homepage = "https://github.com/rust-secure-code/cargo-auditable/tree/master/rust-audit-info"; + license = with licenses; [ mit /* or */ asl20 ]; + maintainers = with maintainers; [ figsoda ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8c7e2ad3b10e..8d4af03d2031 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14958,6 +14958,7 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) CoreServices; }; rust-analyzer = callPackage ../development/tools/rust/rust-analyzer/wrapper.nix { }; + rust-audit-info = callPackage ../development/tools/rust/rust-audit-info { }; rust-bindgen-unwrapped = callPackage ../development/tools/rust/bindgen/unwrapped.nix { }; rust-bindgen = callPackage ../development/tools/rust/bindgen { }; rust-cbindgen = callPackage ../development/tools/rust/cbindgen {