python3Packages.trubar: init at 0.3.4

Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
lucasew
2024-12-29 23:29:20 -03:00
parent 4b7712c3f1
commit 6b4a1f6492
2 changed files with 46 additions and 0 deletions
@@ -0,0 +1,44 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
gitUpdater,
pytestCheckHook,
libcst,
pyyaml,
}:
buildPythonPackage rec {
pname = "trubar";
version = "0.3.4";
pyproject = true;
src = fetchFromGitHub {
owner = "janezd";
repo = "trubar";
rev = "refs/tags/${version}";
hash = "sha256-ChKmeACEMnFcMYSdkdVlFiE3td171ihUS2A+qsP5ASk=";
};
build-system = [ setuptools ];
dependencies = [
libcst
pyyaml
];
pythonImportsCheck = [ "trubar" ];
nativeCheckInputs = [ pytestCheckHook ];
passthru.updateScript = gitUpdater { };
meta = {
description = "Utility for translation of strings and f-strings in Python files";
homepage = "https://github.com/janezd/trubar";
changelog = "https://github.com/janezd/trubar/releases/tag/${version}";
license = [ lib.licenses.mit ];
maintainers = [ lib.maintainers.lucasew ];
};
}
+2
View File
@@ -16415,6 +16415,8 @@ self: super: with self; {
trove-classifiers = callPackage ../development/python-modules/trove-classifiers { };
trubar = callPackage ../development/python-modules/trubar { };
trueskill = callPackage ../development/python-modules/trueskill { };
truncnorm = callPackage ../development/python-modules/truncnorm { };