nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 28 lines 663 B view raw
1{ 2 buildGoModule, 3 fetchFromGitHub, 4 lib, 5}: 6 7buildGoModule rec { 8 pname = "rime-cli"; 9 version = "0.0.3"; 10 11 src = fetchFromGitHub { 12 owner = "puddinging"; 13 repo = "rime-cli"; 14 rev = "v${version}"; 15 hash = "sha256-CI0Jva7oA/zUGatv+wCdByqbTBNQRw+4clr8IDKX6HQ="; 16 }; 17 18 vendorHash = null; 19 20 meta = { 21 homepage = "https://github.com/puddinging/rime-cli"; 22 changelog = "https://github.com/puddinging/rime-cli/releases/tag/v${version}"; 23 description = "Command line tool to add customized vocabulary for Rime IME"; 24 license = lib.licenses.asl20; 25 maintainers = with lib.maintainers; [ urandom ]; 26 mainProgram = "rime-cli"; 27 }; 28}