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
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pypinyin";
|
pname = "pypinyin";
|
||||||
version = "0.49.0";
|
version = "0.49.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mozillazg";
|
owner = "mozillazg";
|
||||||
|
@ -31,7 +35,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Chinese Characters to Pinyin - 汉字转拼音";
|
description = "Chinese Characters to Pinyin - 汉字转拼音";
|
||||||
homepage = "https://github.com/mozillazg/python-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;
|
license = licenses.mit;
|
||||||
maintainers = teams.tts.members;
|
maintainers = teams.tts.members;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue