uniffi-bindgen: add update script
This commit is contained in:
parent
413bf055c8
commit
b28c6639e3
1 changed files with 5 additions and 0 deletions
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue