Merge pull request #203281 from figsoda/uniffi

uniffi-bindgen: add update script

authored by figsoda and committed by GitHub 32d7a558 f5345158

+5
+5
pkgs/development/tools/uniffi-bindgen/default.nix
··· 6 , yapf 7 , rubocop 8 , rustfmt 9 }: 10 11 rustPlatform.buildRustPackage rec { ··· 30 wrapProgram "$out/bin/uniffi-bindgen" \ 31 --suffix PATH : ${lib.strings.makeBinPath [ ktlint yapf rubocop rustfmt ] } 32 ''; 33 34 meta = with lib; { 35 description = "Toolkit for building cross-platform software components in Rust";
··· 6 , yapf 7 , rubocop 8 , rustfmt 9 + , nix-update-script 10 }: 11 12 rustPlatform.buildRustPackage rec { ··· 31 wrapProgram "$out/bin/uniffi-bindgen" \ 32 --suffix PATH : ${lib.strings.makeBinPath [ ktlint yapf rubocop rustfmt ] } 33 ''; 34 + 35 + passthru.updateScript = nix-update-script { 36 + attrPath = pname; 37 + }; 38 39 meta = with lib; { 40 description = "Toolkit for building cross-platform software components in Rust";