at 23.11-beta 24 lines 658 B view raw
1{ lib 2, rustPlatform 3, fetchCrate 4}: 5 6rustPlatform.buildRustPackage rec { 7 pname = "svdtools"; 8 version = "0.3.4"; 9 10 src = fetchCrate { 11 inherit version pname; 12 hash = "sha256-rdBUEOyE4bHqPXZs3MxT/oivagKmJIVE/hI9mp0RY0k="; 13 }; 14 15 cargoHash = "sha256-mPz8m/9VGKSqXan/R1k1JTZ9a44CwCL6JefVyeeREeE="; 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}