Merge pull request #250669 from newAM/svd2rust-0.30.0

svd2rust: 0.29.0 -> 0.30.0
This commit is contained in:
Jonas Heinrich 2023-08-22 18:58:26 +02:00 committed by GitHub
commit b401f3aac4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,14 +2,19 @@
rustPlatform.buildRustPackage rec {
pname = "svd2rust";
version = "0.29.0";
version = "0.30.0";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-VxjoS93OwJAc9Cb0VL9R/49pAcXPYrzC7q6vYJSDYB4=";
hash = "sha256-/fB6Ay9t5WkBtHVYne/dbj+PXurMpzKAb7/OFD4j7U4=";
};
cargoHash = "sha256-f8dht3HCgzeTfyhFhJS2F+TL5Y0qi+A5PGZkNXF1AUw=";
cargoHash = "sha256-PD2UsLVfc6D726BpE6a1MKjspL3/g2D9sweCmVXtH1E=";
# error: linker `aarch64-linux-gnu-gcc` not found
postPatch = ''
rm .cargo/config.toml
'';
meta = with lib; {
description = "Generate Rust register maps (`struct`s) from SVD files";