Merge pull request #213293 from wykurz/rustfilt-init-0.2.1

rustfilt: init at 0.2.1
This commit is contained in:
Nick Cao 2023-01-29 13:25:30 +08:00 committed by GitHub
commit 0d9abb0d7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
};