diff --git a/pkgs/by-name/th/theattyr/package.nix b/pkgs/by-name/th/theattyr/package.nix new file mode 100644 index 000000000000..d23a00943eb2 --- /dev/null +++ b/pkgs/by-name/th/theattyr/package.nix @@ -0,0 +1,31 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + nix-update-script, +}: + +rustPlatform.buildRustPackage rec { + pname = "theattyr"; + version = "0.1.10"; + + src = fetchFromGitHub { + owner = "orhun"; + repo = "theattyr"; + rev = "refs/tags/v${version}"; + hash = "sha256-gqgoG5JwGecm8MEqH36BvJyLuh6nDao1d9ydX1AlbgU="; + }; + + cargoHash = "sha256-LwJW1WTUa0iz4PeDOMmRr6H0XLhWOn9b4W3SUR+SHyc="; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "A terminal theater for playing VT100 art and animations"; + homepage = "https://github.com/orhun/theattyr"; + changelog = "https://github.com/orhun/theattyr/blob/${src.rev}/CHANGELOG.md"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ a-kenji ]; + mainProgram = "theattyr"; + }; +}