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