From eed65820f54cea021ab5cd8896b8b8626de1d5e5 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Thu, 17 Oct 2024 19:11:28 +0200 Subject: [PATCH] theattyr: init at 0.1.10 --- pkgs/by-name/th/theattyr/package.nix | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkgs/by-name/th/theattyr/package.nix 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"; + }; +}