about summary refs log tree commit diff
path: root/pkgs/by-name/ng
diff options
context:
space:
mode:
authorGuanran Wang <guanran928@outlook.com>2024-05-29 05:12:09 +0800
committerGuanran Wang <guanran928@outlook.com>2024-05-29 07:17:01 +0800
commit7a3d802160e817a316d82ac28982e43514eea3db (patch)
tree787e618cc0a6c76b95451c0e32bb225f7b647155 /pkgs/by-name/ng
parentc5187508b11177ef4278edf19616f44f21cc8c69 (diff)
ngrrram: init at 1.0.3
Diffstat (limited to 'pkgs/by-name/ng')
-rw-r--r--pkgs/by-name/ng/ngrrram/package.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/by-name/ng/ngrrram/package.nix b/pkgs/by-name/ng/ngrrram/package.nix
new file mode 100644
index 0000000000000..16f8b277d6e67
--- /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";
+  };
+}