1 { lib, rustPlatform, fetchCrate }:
3 rustPlatform.buildRustPackage rec {
9 hash = "sha256-omAL/nRdB5wngOQTaZdnq9XaPnDj6kxda+27TQS7dUQ=";
12 cargoHash = "sha256-YmnKZhGDQ+eqHy/KQxp3ZdCxKrZEKcS2R+5/t6HhOCg=";
14 # error: linker `aarch64-linux-gnu-gcc` not found
20 description = "Generate Rust register maps (`struct`s) from SVD files";
21 mainProgram = "svd2rust";
22 homepage = "https://github.com/rust-embedded/svd2rust";
23 changelog = "https://github.com/rust-embedded/svd2rust/blob/v${version}/CHANGELOG.md";
24 license = with licenses; [ mit asl20 ];
25 maintainers = with maintainers; [ newam ];