cargo-risczero: add passthru.updateScript

This commit is contained in:
wxt
2024-11-07 11:04:58 +08:00
parent 8d9209e6d7
commit 37261f87d5
+6 -3
View File
@@ -6,6 +6,7 @@
pkg-config,
openssl,
darwin,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
@@ -34,11 +35,13 @@ rustPlatform.buildRustPackage rec {
# The tests require network access which is not available in sandboxed Nix builds.
doCheck = false;
meta = with lib; {
passthru.updateScript = nix-update-script { };
meta = {
description = "Cargo extension to help create, manage, and test RISC Zero projects";
mainProgram = "cargo-risczero";
homepage = "https://risczero.com";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ cameronfyfe ];
license = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ cameronfyfe ];
};
}