turtle-build: add nix-update-script (#517644)

This commit is contained in:
Michael Daniels
2026-05-08 16:07:00 +00:00
committed by GitHub
+9 -1
View File
@@ -2,6 +2,8 @@
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -17,14 +19,20 @@ 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
];
maintainers = [ ];
maintainers = [ lib.maintainers.progrm_jarvis ];
mainProgram = "turtle";
};
})