depot/third_party/nixpkgs/pkgs/development/python-modules/l18n/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

31 lines
702 B
Nix

{ 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;
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 ];
};
}