2021-10-08 15:17:17 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-binutils";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "0.3.6";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2021-10-08 15:17:17 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2022-07-14 12:49:19 +00:00
|
|
|
sha256 = "sha256-tRh3+X6QCdkkJE1O60ZRkDBRbznGZ1aB1AOmcz0EINI=";
|
2021-10-08 15:17:17 +00:00
|
|
|
};
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
cargoSha256 = "sha256-lZJcsCg7e5ZmClnzKFjm/roXBIyhkPTzS7R6BTmcNIk=";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2021-10-08 15:17:17 +00:00
|
|
|
description = "Cargo subcommands to invoke the LLVM tools shipped with the Rust toolchain";
|
2021-05-20 23:08:51 +00:00
|
|
|
longDescription = ''
|
|
|
|
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. nixpkgs-mozilla, or rust-overlay)
|
|
|
|
'';
|
2021-02-05 17:12:51 +00:00
|
|
|
homepage = "https://github.com/rust-embedded/cargo-binutils";
|
2021-10-08 15:17:17 +00:00
|
|
|
changelog = "https://github.com/rust-embedded/cargo-binutils/blob/v${version}/CHANGELOG.md";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = with licenses; [ asl20 mit ];
|
|
|
|
maintainers = with maintainers; [ stupremee ];
|
|
|
|
};
|
|
|
|
}
|