9 rustPlatform.buildRustPackage rec {
10 pname = "pinyin-tool";
13 src = fetchFromGitHub {
17 sha256 = "1gwqwxlvdrm4sdyqkvpvvfi6jh6qqn6qybn0z66wm06k62f8zj5b";
20 cargoHash = "sha256-jeRKtKv8Lg/ritl42dMbEQpXaNlCIaHTrw0xtPQitMc=";
22 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
25 description = "Simple command line tool for converting Chinese characters to space-separate pinyin words";
26 mainProgram = "pinyin-tool";
27 homepage = "https://github.com/briankung/pinyin-tool";
28 license = licenses.mit;
29 maintainers = with maintainers; [ neonfuz ];