nixpkgs/pkgs/development/python-modules/l18n/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
702 B
Nix
Raw Normal View History

2023-02-27 09:32:01 +00:00
{ buildPythonPackage
, fetchPypi
, lib
, pytz
, six
}:
buildPythonPackage rec {
pname = "l18n";
version = "2021.3";
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;
2023-02-27 09:32:01 +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 ];
};
}