mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
python310Packages.pypinyin: update meta
- add format - disable on unsupported Python releases
This commit is contained in:
parent
dd08d9b721
commit
56219af822
@ -2,11 +2,15 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pypinyin";
|
||||
version = "0.49.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mozillazg";
|
||||
@ -31,7 +35,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Chinese Characters to Pinyin - 汉字转拼音";
|
||||
homepage = "https://github.com/mozillazg/python-pinyin";
|
||||
changelog = "https://github.com/mozillazg/python-pinyin/blob/master/CHANGELOG.rst";
|
||||
changelog = "https://github.com/mozillazg/python-pinyin/blob/v${version}/CHANGELOG.rst";
|
||||
license = licenses.mit;
|
||||
maintainers = teams.tts.members;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user