36 lines
918 B
Nix
Raw Permalink Normal View History

2025-07-03 23:04:41 -07:00
{
lib,
rustPlatform,
fetchFromGitHub,
2025-07-29 15:39:24 -07:00
versionCheckHook,
2025-07-29 15:40:09 -07:00
nix-update-script,
2025-07-03 23:04:41 -07:00
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "terminal-toys";
version = "0.5.0";
src = fetchFromGitHub {
owner = "Seebass22";
repo = "terminal-toys";
tag = "v${finalAttrs.version}";
hash = "sha256-G4UfX1B4TM4w5KQreCXIZh91o0Tvezhz0ZxojyXRtX8=";
};
cargoHash = "sha256-hjWPWNwZxJkuoFuEUuf7SOSJ4CEtqwCOV5ZM7CGtvfY=";
2025-07-29 15:39:24 -07:00
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
2025-07-29 15:40:09 -07:00
passthru.updateScript = nix-update-script { };
2025-07-03 23:04:41 -07:00
meta = {
description = "Screensavers for your terminal";
homepage = "https://github.com/Seebass22/terminal-toys";
changelog = "https://github.com/Seebass22/terminal-toys/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ yiyu ];
mainProgram = "terminal-toys";
};
})