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