Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
30 lines
703 B
Nix
30 lines
703 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchCrate,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "svdtools";
|
|
version = "0.5.0";
|
|
|
|
src = fetchCrate {
|
|
inherit version pname;
|
|
hash = "sha256-2GemBVTRvYC5bvlYgJKmDJM78ZoE63B1QwV8cfSHYPg=";
|
|
};
|
|
|
|
cargoHash = "sha256-sn+Z3/p4Ek/wxwTj6uwDBFP1hFNGDb2EZ7MO0zvPjPk=";
|
|
|
|
meta = {
|
|
description = "Tools to handle vendor-supplied, often buggy SVD files";
|
|
mainProgram = "svdtools";
|
|
homepage = "https://github.com/stm32-rs/svdtools";
|
|
changelog = "https://github.com/stm32-rs/svdtools/blob/v${version}/CHANGELOG-rust.md";
|
|
license = with lib.licenses; [
|
|
asl20 # or
|
|
mit
|
|
];
|
|
maintainers = with lib.maintainers; [ newam ];
|
|
};
|
|
}
|