From 7a3d802160e817a316d82ac28982e43514eea3db Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Wed, 29 May 2024 05:12:09 +0800 Subject: [PATCH] ngrrram: init at 1.0.3 --- pkgs/by-name/ng/ngrrram/package.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pkgs/by-name/ng/ngrrram/package.nix diff --git a/pkgs/by-name/ng/ngrrram/package.nix b/pkgs/by-name/ng/ngrrram/package.nix new file mode 100644 index 000000000000..16f8b277d6e6 --- /dev/null +++ b/pkgs/by-name/ng/ngrrram/package.nix @@ -0,0 +1,29 @@ +{ + lib, + fetchFromGitHub, + nix-update-script, + rustPlatform, +}: +rustPlatform.buildRustPackage rec { + pname = "ngrrram"; + version = "1.0.3"; + + src = fetchFromGitHub { + owner = "wintermute-cell"; + repo = "ngrrram"; + rev = "v${version}"; + hash = "sha256-65cbNsGQZSpxKV0lq/Z7TK7CODPTqayOiPStukFbo44="; + }; + + cargoHash = "sha256-CWk3ixajgDI1oOOZ4qBZw5jq1xlJtxa6sAQu+fyk4rI="; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "A TUI tool to help you type faster and learn new layouts. Includes a free cat"; + homepage = "https://github.com/wintermute-cell/ngrrram"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ Guanran928 ]; + mainProgram = "ngrrram"; + }; +}