1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 atpublic,
7 pdm-pep517,
8 pytestCheckHook,
9 pytest-cov-stub,
10 sybil,
11}:
12
13buildPythonPackage rec {
14 pname = "flufl-i18n";
15 version = "4.1.1";
16 pyproject = true;
17
18 disabled = pythonOlder "3.7";
19
20 src = fetchPypi {
21 pname = "flufl.i18n";
22 inherit version;
23 hash = "sha256-wKz6aggkJ9YBJ+o75XjC4Ddnn+Zi9hlYDnliwTc7DNs=";
24 };
25
26 nativeBuildInputs = [ pdm-pep517 ];
27
28 propagatedBuildInputs = [ atpublic ];
29
30 pythonImportsCheck = [ "flufl.i18n" ];
31
32 nativeCheckInputs = [
33 pytestCheckHook
34 pytest-cov-stub
35 sybil
36 ];
37
38 pythonNamespaces = [ "flufl" ];
39
40 meta = with lib; {
41 description = "High level API for internationalizing Python libraries and applications";
42 homepage = "https://gitlab.com/warsaw/flufl.i18n";
43 changelog = "https://gitlab.com/warsaw/flufl.i18n/-/raw/${version}/docs/NEWS.rst";
44 license = licenses.asl20;
45 maintainers = [ ];
46 };
47}