1 { lib, buildPythonPackage, fetchPypi, future, configparser, isPy27 }:
3 buildPythonPackage rec {
4 pname = "arabic_reshaper";
9 sha256 = "zzGPpdUdLSJPpJv2vbu0aE9r0sBot1z84OYH+JrBmdw=";
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 ];