blob: e91f3e033177bbb8d521373bd994b416dbcff287 (
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
|
{
buildPythonPackage,
fetchPypi,
lib,
pytz,
six,
}:
buildPythonPackage rec {
pname = "l18n";
version = "2021.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-GVbokNZz0XE1zCCRMlPBVPa8HAAmbCK31QPMGlpC2Eg=";
};
propagatedBuildInputs = [
pytz
six
];
# tests are not included in sdist and building from source is none trivial
doCheck = false;
pythonImportsCheck = [ "l18n" ];
meta = {
description = "Locale internationalization package";
homepage = "https://github.com/tkhyn/l18n";
changelog = "https://github.com/tkhyn/l18n/blob/${version}/CHANGES.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sephi ];
};
}
|