ttypr: init at 0.3.6 (#429490)

This commit is contained in:
Marcin Serwin
2026-03-23 15:23:26 +00:00
committed by GitHub
+35
View File
@@ -0,0 +1,35 @@
{
fetchFromGitHub,
lib,
nix-update-script,
rustPlatform,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "ttypr";
version = "0.3.6";
src = fetchFromGitHub {
owner = "tanciaku";
repo = "ttypr";
tag = "v${finalAttrs.version}";
hash = "sha256-y6FXkNfd+4Nkus+Z6Ah2AJX9iWeXQnIDeKmuLFUZDdQ=";
};
cargoHash = "sha256-bmwvirAbjzD5NJDHJgbPhnNqTdfo8CWJ2JWgFEBz+2Y=";
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/tanciaku/ttypr/blob/${finalAttrs.src.tag}/CHANGELOG.md";
description = "Terminal typing practice";
longDescription = ''
ttypr is a simple, lightweight typing practice application that
runs in your terminal, built with Rust and Ratatui.
'';
homepage = "https://github.com/hotellogical05/ttypr";
license = lib.licenses.mit;
mainProgram = "ttypr";
maintainers = with lib.maintainers; [ yiyu ];
};
})