about summary refs log tree commit diff
path: root/pkgs/applications/office/rime-cli/default.nix
blob: a5b989528459d133f186fdee2cb6caff76da1763 (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
{ buildGoModule, fetchFromGitHub, lib }:

buildGoModule rec {
  pname = "rime-cli";
  version = "0.0.3";

  src = fetchFromGitHub {
    owner = "puddinging";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-CI0Jva7oA/zUGatv+wCdByqbTBNQRw+4clr8IDKX6HQ=";
  };

  vendorHash = null;

  meta = with lib; {
    homepage = "https://github.com/puddinging/rime-cli";
    changelog = "https://github.com/puddinging/rime-cli/releases/tag/v${version}";
    description = "A command line tool to add customized vocabulary for Rime IME";
    license = licenses.asl20;
    maintainers = with maintainers; [ urandom ];
    mainProgram = "rime-cli";
  };
}