1 { lib, rustPlatform, fetchCrate }:
3 rustPlatform.buildRustPackage rec {
4 pname = "cargo-binutils";
9 hash = "sha256-tRh3+X6QCdkkJE1O60ZRkDBRbznGZ1aB1AOmcz0EINI=";
12 cargoHash = "sha256-lZJcsCg7e5ZmClnzKFjm/roXBIyhkPTzS7R6BTmcNIk=";
15 description = "Cargo subcommands to invoke the LLVM tools shipped with the Rust toolchain";
17 In order for this to work, you either need to run `rustup component add llvm-tools-preview` or install the `llvm-tools-preview` component using your Nix library (e.g. fenix or rust-overlay)
19 homepage = "https://github.com/rust-embedded/cargo-binutils";
20 changelog = "https://github.com/rust-embedded/cargo-binutils/blob/v${version}/CHANGELOG.md";
21 license = with licenses; [ asl20 mit ];
22 maintainers = with maintainers; [ stupremee matthiasbeyer ];