blob: dd3300256649902cc63c52b8dc0782b8dafd1392 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
charset-normalizer,
ruamel-yaml,
weblate-language-data,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "translation-finder";
version = "2.22";
pyproject = true;
src = fetchFromGitHub {
owner = "WeblateOrg";
repo = "translation-finder";
tag = version;
hash = "sha256-1OQCSWsslJVuBjBsasWGMIpt/k8ey4nKLfbIS5LlCw4=";
};
build-system = [ setuptools ];
dependencies = [
charset-normalizer
ruamel-yaml
weblate-language-data
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "translation_finder" ];
meta = with lib; {
description = "Translation file finder for Weblate";
homepage = "https://github.com/WeblateOrg/translation-finder";
changelog = "https://github.com/WeblateOrg/translation-finder/blob/${src.tag}/CHANGES.rst";
license = licenses.gpl3Only;
mainProgram = "weblate-discover";
maintainers = with maintainers; [ erictapen ];
};
}
|