python3Packages.translate-toolkit: init at 3.13.2
Co-authored-by: Jan Tojnar <jtojnar@gmail.com> Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
This commit is contained in:
parent
dd01b4dcbf
commit
4c6789467e
@ -0,0 +1,72 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
fetchPypi,
|
||||||
|
buildPythonPackage,
|
||||||
|
setuptools-scm,
|
||||||
|
lxml,
|
||||||
|
wcwidth,
|
||||||
|
pytestCheckHook,
|
||||||
|
iniparse,
|
||||||
|
vobject,
|
||||||
|
mistletoe,
|
||||||
|
phply,
|
||||||
|
pyparsing,
|
||||||
|
ruamel-yaml,
|
||||||
|
cheroot,
|
||||||
|
fluent-syntax,
|
||||||
|
aeidon,
|
||||||
|
charset-normalizer,
|
||||||
|
syrupy,
|
||||||
|
gettext,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "translate-toolkit";
|
||||||
|
version = "3.13.2";
|
||||||
|
|
||||||
|
pyproject = true;
|
||||||
|
build-system = [ setuptools-scm ];
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
pname = "translate_toolkit";
|
||||||
|
inherit version;
|
||||||
|
sha256 = "sha256-95zIAelFSNK5+f1GY8DUgHPDQBS5K+9ULjXaSaa0wWM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
lxml
|
||||||
|
wcwidth
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
iniparse
|
||||||
|
vobject
|
||||||
|
mistletoe
|
||||||
|
phply
|
||||||
|
pyparsing
|
||||||
|
ruamel-yaml
|
||||||
|
cheroot
|
||||||
|
fluent-syntax
|
||||||
|
aeidon
|
||||||
|
charset-normalizer
|
||||||
|
syrupy
|
||||||
|
gettext
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# Probably breaks because of nix sandbox
|
||||||
|
"test_timezones"
|
||||||
|
# Requires network
|
||||||
|
"test_xliff_conformance"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "translate" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Useful localization tools for building localization & translation systems";
|
||||||
|
homepage = "https://toolkit.translatehouse.org/";
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
maintainers = with maintainers; [ erictapen ];
|
||||||
|
};
|
||||||
|
}
|
@ -15803,6 +15803,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
tracing = callPackage ../development/python-modules/tracing { };
|
tracing = callPackage ../development/python-modules/tracing { };
|
||||||
|
|
||||||
|
translate-toolkit = callPackage ../development/python-modules/translate-toolkit { };
|
||||||
|
|
||||||
trackpy = callPackage ../development/python-modules/trackpy { };
|
trackpy = callPackage ../development/python-modules/trackpy { };
|
||||||
|
|
||||||
trafilatura = callPackage ../development/python-modules/trafilatura { };
|
trafilatura = callPackage ../development/python-modules/trafilatura { };
|
||||||
|
Loading…
Reference in New Issue
Block a user