1{ buildPythonPackage
2, fetchPypi
3, lib
4, pytz
5, six
6}:
7
8buildPythonPackage rec {
9 pname = "l18n";
10 version = "2021.3";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "sha256-GVbokNZz0XE1zCCRMlPBVPa8HAAmbCK31QPMGlpC2Eg=";
15 };
16
17 propagatedBuildInputs = [ pytz six ];
18
19 # tests are not included in sdist and building from source is none trivial
20 doCheck = false;
21
22 pythonImportsCheck = [ "l18n" ];
23
24 meta = with lib; {
25 description = "Locale internationalization package";
26 homepage = "https://github.com/tkhyn/l18n";
27 changelog = "https://github.com/tkhyn/l18n/blob/${version}/CHANGES.rst";
28 license = licenses.mit;
29 maintainers = with maintainers; [ sephi ];
30 };
31}