nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 nix-update-script,
5 rustPlatform,
6}:
7rustPlatform.buildRustPackage rec {
8 pname = "ngrrram";
9 version = "1.0.3";
10
11 src = fetchFromGitHub {
12 owner = "wintermute-cell";
13 repo = "ngrrram";
14 rev = "v${version}";
15 hash = "sha256-65cbNsGQZSpxKV0lq/Z7TK7CODPTqayOiPStukFbo44=";
16 };
17
18 cargoHash = "sha256-SCfDXMz8SLmUk8VhbF6Gs4zis01Fhn4OX5amqLXaFV8=";
19
20 passthru.updateScript = nix-update-script { };
21
22 meta = {
23 description = "TUI tool to help you type faster and learn new layouts. Includes a free cat";
24 homepage = "https://github.com/wintermute-cell/ngrrram";
25 license = lib.licenses.gpl3Only;
26 maintainers = with lib.maintainers; [ Guanran928 ];
27 mainProgram = "ngrrram";
28 };
29}