1 { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pyyaml }:
3 buildPythonPackage rec {
8 src = fetchFromGitHub {
12 sha256 = "6FahoHZqaOWYGaT9RqLARCm2kLfUIlYuauB6+0eX7jA=";
15 # Replace use of deprecated assertRaisesRegexp
17 substituteInPlace i18n/tests/loader_tests.py \
18 --replace-fail assertRaisesRegexp assertRaisesRegex
21 nativeCheckInputs = [ pytestCheckHook pyyaml ];
22 pytestFlagsArray = [ "i18n/tests/run_tests.py" ];
23 pythonImportsCheck = [ "i18n" ];
26 description = "Easy to use i18n library";
27 homepage = "https://github.com/danhper/python-i18n";
28 license = with licenses; [ mit ];
29 maintainers = with maintainers; [ emilytrau ];