Merge pull request #194974 from newAM/svd2rust

svd2rust: 0.25.1 -> 0.26.0
This commit is contained in:
Robert Scott 2022-10-07 23:51:46 +01:00 committed by GitHub
commit 2ad8c95a6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,15 @@
{ lib, rustPlatform, fetchCrate, stdenv, libiconv }:
{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "svd2rust";
version = "0.25.1";
version = "0.26.0";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-mPkcefB9oTLYhtokhUVwoWfsvLtZWWb+LwElmJeZsiA=";
sha256 = "sha256-XoiAnJDTwO93cMH8Z8mJbPfVMhq7c/Xc38gUNYmSX6Y=";
};
cargoSha256 = "sha256-sjjmsrgKfrvXynVsZuYkmGKmh0cTAlSNT4h2fVHATrU=";
buildInputs = lib.optional stdenv.isDarwin libiconv;
cargoSha256 = "sha256-5mu+8tmO70PZq13VuFeovgAmhPmL5G4ju5AvjsC7Idc=";
meta = with lib; {
description = "Generate Rust register maps (`struct`s) from SVD files";