nixpkgs/pkgs/development/embedded/svdtools/default.nix

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

25 lines
662 B
Nix
Raw Normal View History

2022-07-25 14:51:50 +00:00
{ lib
, rustPlatform
, fetchCrate
}:
rustPlatform.buildRustPackage rec {
pname = "svdtools";
2022-10-07 02:54:56 +00:00
version = "0.2.7";
2022-07-25 14:51:50 +00:00
src = fetchCrate {
inherit version pname;
2022-10-07 02:54:56 +00:00
sha256 = "sha256-pRY9lL04BcZDYeFcdArIp2PcWiCZBurCYpYtYhPqFsg=";
2022-07-25 14:51:50 +00:00
};
2022-10-07 02:54:56 +00:00
cargoSha256 = "sha256-9XymDE9ON11VfZObrMiARmpJay2g2mKEf0l2eojbjL8=";
2022-07-25 14:51:50 +00:00
meta = with lib; {
description = "Tools to handle vendor-supplied, often buggy SVD files";
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 ];
};
}