Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 24 lines 658 B view raw
1{ lib 2, rustPlatform 3, fetchCrate 4}: 5 6rustPlatform.buildRustPackage rec { 7 pname = "svdtools"; 8 version = "0.3.0"; 9 10 src = fetchCrate { 11 inherit version pname; 12 hash = "sha256-B+G2HIGbuKeiys3bLR2U+P40TD8YpqzAb4oENNb8gYg="; 13 }; 14 15 cargoHash = "sha256-W6/LZE98V1teiv9Wp9tsIqlY18MoMiNZ+fqTJ567xrg="; 16 17 meta = with lib; { 18 description = "Tools to handle vendor-supplied, often buggy SVD files"; 19 homepage = "https://github.com/stm32-rs/svdtools"; 20 changelog = "https://github.com/stm32-rs/svdtools/blob/v${version}/CHANGELOG-rust.md"; 21 license = with licenses; [ asl20 /* or */ mit ]; 22 maintainers = with maintainers; [ newam ]; 23 }; 24}