turtle-build: add nix-update-script

This commit is contained in:
Petr Portnov
2026-05-07 14:44:08 +03:00
parent c1cc236581
commit e58f166317
+8
View File
@@ -2,6 +2,8 @@
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -17,9 +19,15 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-JZU0Xam4NPiOHdXDtJsTBjOQnaDWReSZMD33sQxeUzQ=";
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Ninja-compatible build system for high-level programming languages written in Rust";
homepage = "https://github.com/raviqqe/turtle-build";
changelog = "https://github.com/raviqqe/turtle-build/releases/tag/v${finalAttrs.version}";
license = with lib.licenses; [
asl20
mit