mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 13:53:05 +00:00
27 lines
618 B
Nix
27 lines
618 B
Nix
{ 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";
|
|
};
|
|
}
|