python3Packages.trubar: init at 0.3.4
Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user