diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index cc267594de8f..78259b55ae83 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -21525,6 +21525,15 @@ githubId = 337811; name = "Rehno Lindeque"; }; + rein = { + email = "rein@rein.icu"; + github = "re1n0"; + githubId = 227051429; + name = "rein"; + keys = [ + { fingerprint = "66A8 1706 2227 9BD9 586A CEDD 5B29 A881 3F47 65C4"; } + ]; + }; relrod = { email = "ricky@elrod.me"; github = "relrod"; diff --git a/pkgs/by-name/tu/tukai/package.nix b/pkgs/by-name/tu/tukai/package.nix new file mode 100644 index 000000000000..580514d0333d --- /dev/null +++ b/pkgs/by-name/tu/tukai/package.nix @@ -0,0 +1,46 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + pkg-config, + writableTmpDirAsHomeHook, + versionCheckHook, + nix-update-script, +}: +rustPlatform.buildRustPackage (finalAttrs: { + pname = "tukai"; + version = "0.2.3"; + + src = fetchFromGitHub { + owner = "hlsxx"; + repo = "tukai"; + tag = "v${finalAttrs.version}"; + hash = "sha256-YJtna4NIk9mmwymepFSZB8viUSPDU4XouRE5GCujSmk="; + }; + + cargoHash = "sha256-1V1DrewPGDJWmOoYdtK1HS/t83zFac/tgatfDTKxAmA="; + + nativeBuildInputs = [ + pkg-config + writableTmpDirAsHomeHook + ]; + + nativeInstallCheckInputs = [ + versionCheckHook + ]; + + doInstallCheck = true; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Terminal-based touch typing application"; + homepage = "https://github.com/hlsxx/tukai"; + changelog = "https://github.com/hlsxx/tukai/releases/tag/v${finalAttrs.version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ + rein + ]; + mainProgram = "tukai"; + }; +})