nixpkgs/pkgs/by-name/sv/svdtools/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
706 B
Nix
Raw Normal View History

2022-07-25 14:51:50 +00:00
{
lib,
rustPlatform,
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
pname = "svdtools";
2024-11-30 15:09:16 +00:00
version = "0.3.20";
2022-07-25 14:51:50 +00:00
src = fetchCrate {
inherit version pname;
2024-11-30 15:09:16 +00:00
hash = "sha256-Sh3VnitkR72009kcD9u42UrDB1FKbHYllHGzM07eUTU=";
2022-07-25 14:51:50 +00:00
};
2024-11-30 15:09:16 +00:00
cargoHash = "sha256-9QiDbJMWf4OWEVOVrz4uiyjmLHNhZg0VbM1/VKTjO9M=";
2022-07-25 14:51:50 +00:00
meta = with lib; {
description = "Tools to handle vendor-supplied, often buggy SVD files";
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 ];
};
}