2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
lib,
|
|
|
|
pytz,
|
|
|
|
six,
|
2023-03-30 22:05:00 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "l18n";
|
|
|
|
version = "2021.3";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2023-03-30 22:05:00 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "sha256-GVbokNZz0XE1zCCRMlPBVPa8HAAmbCK31QPMGlpC2Eg=";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pytz
|
|
|
|
six
|
|
|
|
];
|
2023-03-30 22:05:00 +00:00
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
# tests are not included in sdist and building from source is none trivial
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-03-30 22:05:00 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|