1{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pyyaml }:
2
3buildPythonPackage rec {
4 pname = "python-i18n";
5 version = "0.3.9";
6
7 src = fetchFromGitHub {
8 owner = "danhper";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "6FahoHZqaOWYGaT9RqLARCm2kLfUIlYuauB6+0eX7jA=";
12 };
13
14 checkInputs = [ pytestCheckHook pyyaml ];
15
16 pytestFlagsArray = [ "i18n/tests/run_tests.py" ];
17
18 meta = with lib; {
19 description = "Easy to use i18n library";
20 homepage = "https://github.com/danhper/python-i18n";
21 license = with licenses; [ mit ];
22 maintainers = with maintainers; [ emilytrau ];
23 };
24}