at 24.05-pre 26 lines 618 B view raw
1{ lib 2, fetchFromGitHub 3, rustPlatform 4}: 5 6rustPlatform.buildRustPackage rec { 7 pname = "rustfilt"; 8 version = "0.2.1"; 9 10 src = fetchFromGitHub { 11 owner = "luser"; 12 repo = pname; 13 rev = version; 14 hash = "sha256-zb1tkeWmeMq7aM8hWssS/UpvGzGbfsaVYCOKBnAKwiQ="; 15 }; 16 17 cargoSha256 = "sha256-rs2EWcvTxLVeJ0t+jLM75s+K72t+hqKzwy3oAdCZ8BE="; 18 19 meta = with lib; { 20 description = "Demangle Rust symbol names using rustc-demangle"; 21 homepage = "https://github.com/luser/rustfilt"; 22 license = with licenses; [ asl20 ]; 23 maintainers = with maintainers; [ wykurz ]; 24 mainProgram = "rustfilt"; 25 }; 26}