504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
32 lines
727 B
Nix
32 lines
727 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
, pytz
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "l18n";
|
|
version = "2021.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "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 ];
|
|
};
|
|
}
|