Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / arabic-reshaper / default.nix
blobad5f64146a69ee4685b4fb60871745fe14661c78
1 { lib, buildPythonPackage, fetchPypi, future, configparser, isPy27 }:
3 buildPythonPackage rec {
4   pname = "arabic_reshaper";
5   version = "2.1.1";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "zzGPpdUdLSJPpJv2vbu0aE9r0sBot1z84OYH+JrBmdw=";
10   };
12   propagatedBuildInputs = [ future ]
13     ++ lib.optionals isPy27 [ configparser ];
15   # Tests are not published on pypi
16   doCheck = false;
18   pythonImportsCheck = [ "arabic_reshaper" ];
20   meta = with lib; {
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 ];
25   };