2022-07-25 14:51:50 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchCrate
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "svdtools";
|
2024-10-18 19:53:04 +00:00
|
|
|
version = "0.3.19";
|
2022-07-25 14:51:50 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit version pname;
|
2024-10-18 19:53:04 +00:00
|
|
|
hash = "sha256-5s4CPV6Tke37QlyMzI6WFDb9EdRfcFDoFrmuWblbp20=";
|
2022-07-25 14:51:50 +00:00
|
|
|
};
|
|
|
|
|
2024-10-18 19:53:04 +00:00
|
|
|
cargoHash = "sha256-VrOFu7LNFeH70VPdz9uJxXuRtTvxKiS1dlhCdr++7+g=";
|
2022-07-25 14:51:50 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tools to handle vendor-supplied, often buggy SVD files";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "svdtools";
|
2022-07-25 14:51:50 +00:00
|
|
|
homepage = "https://github.com/stm32-rs/svdtools";
|
|
|
|
changelog = "https://github.com/stm32-rs/svdtools/blob/v${version}/CHANGELOG-rust.md";
|
|
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
|
|
|
maintainers = with maintainers; [ newam ];
|
|
|
|
};
|
|
|
|
}
|