9 buildPythonPackage rec {
10 pname = "python-i18n";
12 format = "setuptools";
14 src = fetchFromGitHub {
18 sha256 = "6FahoHZqaOWYGaT9RqLARCm2kLfUIlYuauB6+0eX7jA=";
21 # Replace use of deprecated assertRaisesRegexp
23 substituteInPlace i18n/tests/loader_tests.py \
24 --replace-fail assertRaisesRegexp assertRaisesRegex
31 pytestFlagsArray = [ "i18n/tests/run_tests.py" ];
32 pythonImportsCheck = [ "i18n" ];
35 description = "Easy to use i18n library";
36 homepage = "https://github.com/danhper/python-i18n";
37 license = with licenses; [ mit ];
38 maintainers = with maintainers; [ emilytrau ];