rustfilt: init at 0.2.1

This commit is contained in:
Mateusz Wykurz 2023-01-28 20:38:42 -07:00
parent 86d4ecda3d
commit 206eb29ca1
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "rustfilt";
version = "0.2.1";
src = fetchFromGitHub {
owner = "luser";
repo = pname;
rev = version;
hash = "sha256-zb1tkeWmeMq7aM8hWssS/UpvGzGbfsaVYCOKBnAKwiQ=";
};
cargoSha256 = "sha256-rs2EWcvTxLVeJ0t+jLM75s+K72t+hqKzwy3oAdCZ8BE=";
meta = with lib; {
description = "Demangle Rust symbol names using rustc-demangle";
homepage = "https://github.com/luser/rustfilt";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ wykurz ];
mainProgram = "rustfilt";
};
}

View File

@ -11513,6 +11513,8 @@ with pkgs;
rustdesk = callPackage ../applications/networking/remote/rustdesk { };
rustfilt = callPackage ../development/tools/rust/rustfilt { };
rustscan = callPackage ../tools/security/rustscan {
inherit (darwin.apple_sdk.frameworks) Security;
};