at 23.11-beta 24 lines 941 B view raw
1{ lib, rustPlatform, fetchCrate }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "cargo-binutils"; 5 version = "0.3.6"; 6 7 src = fetchCrate { 8 inherit pname version; 9 sha256 = "sha256-tRh3+X6QCdkkJE1O60ZRkDBRbznGZ1aB1AOmcz0EINI="; 10 }; 11 12 cargoSha256 = "sha256-lZJcsCg7e5ZmClnzKFjm/roXBIyhkPTzS7R6BTmcNIk="; 13 14 meta = with lib; { 15 description = "Cargo subcommands to invoke the LLVM tools shipped with the Rust toolchain"; 16 longDescription = '' 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) 18 ''; 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 ]; 23 }; 24}