nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

python3Packages.pypinyin: init at 0.41.0

+40
+38
pkgs/development/python-modules/pypinyin/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "pypinyin"; 9 + version = "0.41.0"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "mozillazg"; 13 + repo = "python-pinyin"; 14 + rev = "v${version}"; 15 + sha256 = "1s01dd5n6cgjg24dmji0abxkyvr1yi18lx4rpm9z54v0q3wkccg9"; 16 + }; 17 + 18 + postPatch = '' 19 + substituteInPlace pytest.ini --replace \ 20 + "--cov-report term-missing" "" 21 + ''; 22 + 23 + checkInputs = [ 24 + pytestCheckHook 25 + ]; 26 + 27 + pytestFlagsArray = [ 28 + "tests" 29 + ]; 30 + 31 + meta = with lib; { 32 + description = "Chinese Characters to Pinyin - 汉字转拼音"; 33 + homepage = "https://github.com/mozillazg/python-pinyin"; 34 + changelog = "https://github.com/mozillazg/python-pinyin/blob/master/CHANGELOG.rst"; 35 + license = licenses.mit; 36 + maintainers = with maintainers; [ hexa mic92 ]; 37 + }; 38 + }
+2
pkgs/top-level/python-packages.nix
··· 6210 6210 6211 6211 pypillowfight = callPackage ../development/python-modules/pypillowfight { }; 6212 6212 6213 + pypinyin = callPackage ../development/python-modules/pypinyin { }; 6214 + 6213 6215 pyplaato = callPackage ../development/python-modules/pyplaato { }; 6214 6216 6215 6217 pyplatec = callPackage ../development/python-modules/pyplatec { };