python3Packages.python-i18n: init at 0.3.9
This commit is contained in:
parent
9482d8e060
commit
e859a7ce29
24
pkgs/development/python-modules/python-i18n/default.nix
Normal file
24
pkgs/development/python-modules/python-i18n/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -7966,6 +7966,8 @@ in {
|
||||
|
||||
python-http-client = callPackage ../development/python-modules/python-http-client { };
|
||||
|
||||
python-i18n = callPackage ../development/python-modules/python-i18n { };
|
||||
|
||||
pythonix = callPackage ../development/python-modules/pythonix {
|
||||
nix = pkgs.nixVersions.nix_2_3;
|
||||
meson = pkgs.meson.override { python3 = self.python; };
|
||||
|
Loading…
Reference in New Issue
Block a user