1 { lib, rustPlatform, fetchCrate, makeBinaryWrapper, rustfmt }:
3 rustPlatform.buildRustPackage rec {
9 hash = "sha256-71HxHfUTRmm4BpBz1lGbcvOpbwNQ/wCa5EKCSM1YEtQ=";
12 cargoHash = "sha256-ADS68qTYO/aDwg4MS4v8t25i9vNx8Je37O7icR3tID8=";
14 nativeBuildInputs = [ makeBinaryWrapper ];
15 nativeCheckInputs = [ rustfmt ];
18 wrapProgram $out/bin/zbus-xmlgen \
19 --prefix PATH : ${lib.makeBinPath [ rustfmt ]}
23 homepage = "https://crates.io/crates/zbus_xmlgen";
24 description = "D-Bus XML interface Rust code generator";
25 mainProgram = "zbus-xmlgen";
26 maintainers = with maintainers; [ qyliss ];
27 license = licenses.mit;