python3Packages.python-i18n: init at 0.3.9

This commit is contained in:
Angus Trau 2022-02-07 22:44:07 +00:00 committed by Jonathan Ringer
parent 9482d8e060
commit e859a7ce29
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pyyaml }:
buildPythonPackage rec {
pname = "python-i18n";
version = "0.3.9";
src = fetchFromGitHub {
owner = "danhper";
repo = pname;
rev = "v${version}";
sha256 = "6FahoHZqaOWYGaT9RqLARCm2kLfUIlYuauB6+0eX7jA=";
};
checkInputs = [ pytestCheckHook pyyaml ];
pytestFlagsArray = [ "i18n/tests/run_tests.py" ];
meta = with lib; {
description = "Easy to use i18n library";
homepage = "https://github.com/danhper/python-i18n";
license = with licenses; [ mit ];
maintainers = with maintainers; [ angustrau ];
};
}

View File

@ -7966,6 +7966,8 @@ in {
python-http-client = callPackage ../development/python-modules/python-http-client { }; python-http-client = callPackage ../development/python-modules/python-http-client { };
python-i18n = callPackage ../development/python-modules/python-i18n { };
pythonix = callPackage ../development/python-modules/pythonix { pythonix = callPackage ../development/python-modules/pythonix {
nix = pkgs.nixVersions.nix_2_3; nix = pkgs.nixVersions.nix_2_3;
meson = pkgs.meson.override { python3 = self.python; }; meson = pkgs.meson.override { python3 = self.python; };