1 { lib, buildPythonPackage, fetchPypi, future, configparser, isPy27 }:
3 buildPythonPackage rec {
4 pname = "arabic_reshaper";
9 sha256 = "a236fc6e9dde2a61cc6a5ca962b522e42694e1bb2a2d86894ed7a4eba4ce1890";
12 propagatedBuildInputs = [ future ]
13 ++ lib.optionals isPy27 [ configparser ];
15 # Tests are not published on pypi
18 pythonImportsCheck = [ "arabic_reshaper" ];
21 homepage = "https://github.com/mpcabd/python-arabic-reshaper";
22 description = "Reconstruct Arabic sentences to be used in applications that don't support Arabic";
23 platforms = platforms.unix;
24 maintainers = with maintainers; [ freezeboy ];