f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
36 lines
742 B
Nix
36 lines
742 B
Nix
{
|
|
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 = with lib; {
|
|
description = "Locale internationalization package";
|
|
homepage = "https://github.com/tkhyn/l18n";
|
|
changelog = "https://github.com/tkhyn/l18n/blob/${version}/CHANGES.rst";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ sephi ];
|
|
};
|
|
}
|