uniffi-bindgen: add update script

This commit is contained in:
figsoda 2022-11-27 10:55:49 -05:00
parent 413bf055c8
commit b28c6639e3

View File

@ -6,6 +6,7 @@
, yapf
, rubocop
, rustfmt
, nix-update-script
}:
rustPlatform.buildRustPackage rec {
@ -31,6 +32,10 @@ rustPlatform.buildRustPackage rec {
--suffix PATH : ${lib.strings.makeBinPath [ ktlint yapf rubocop rustfmt ] }
'';
passthru.updateScript = nix-update-script {
attrPath = pname;
};
meta = with lib; {
description = "Toolkit for building cross-platform software components in Rust";
homepage = "https://mozilla.github.io/uniffi-rs/";