mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
36 lines
939 B
Nix
36 lines
939 B
Nix
{
|
|
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 ];
|
|
};
|
|
})
|