2022-08-12 12:06:08 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchCrate
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "svdtools";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0.3.17";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit version pname;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-mXxxsAN/KgQOAgVq6jNVtrb11g3WUbU6e+T1Tgmgciw=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
cargoHash = "sha256-2qA9xMJFj+28/ZCnz4KKm7T3EiG6NUY01JQvYmmuIOc=";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tools to handle vendor-supplied, often buggy SVD files";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "svdtools";
|
2022-08-12 12:06:08 +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 ];
|
|
|
|
};
|
|
|
|
}
|