lol

Merge pull request #132951 from neonfuz/pinyin-tool

pinyin-tool: init at 0.1.3

authored by

Artturi and committed by
GitHub
9c3f8ebe a54a97d4

+28
+24
pkgs/tools/text/pinyin-tool/default.nix
··· 1 + { stdenv, lib, rustPlatform, fetchFromGitHub, Security }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "pinyin-tool"; 5 + version = "0.1.3"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "briankung"; 9 + repo = pname; 10 + rev = version; 11 + sha256 = "1gwqwxlvdrm4sdyqkvpvvfi6jh6qqn6qybn0z66wm06k62f8zj5b"; 12 + }; 13 + 14 + cargoSha256 = "1ixl4bsb8c8dmz9s28a2v5l5f2hi3g9xjy6ribmhybpwmfs4mr4d"; 15 + 16 + buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 17 + 18 + meta = with lib; { 19 + description = "A simple command line tool for converting Chinese characters to space-separate pinyin words"; 20 + homepage = "https://github.com/briankung/pinyin-tool"; 21 + license = licenses.mit; 22 + maintainers = with maintainers; [ neonfuz ]; 23 + }; 24 + }
+4
pkgs/top-level/all-packages.nix
··· 8077 8077 8078 8078 pixiewps = callPackage ../tools/networking/pixiewps {}; 8079 8079 8080 + pinyin-tool = callPackage ../tools/text/pinyin-tool { 8081 + inherit (darwin.apple_sdk.frameworks) Security; 8082 + }; 8083 + 8080 8084 pk2cmd = callPackage ../tools/misc/pk2cmd { }; 8081 8085 8082 8086 plantuml = callPackage ../tools/misc/plantuml { };