about summary refs log tree commit diff
path: root/pkgs/by-name/ng/ngrrram/package.nix
blob: 2ae07b76cac7995e71426ca411436a71446dd26b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 = "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";
  };
}