python3Packages.arabic-reshaper: init at 2.1.1

This commit is contained in:
freezeboy 2020-11-19 00:35:50 +01:00 committed by Jonathan Ringer
parent caa738142f
commit 813255b816
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, buildPythonPackage, fetchPypi, future, configparser, isPy27 }:
buildPythonPackage rec {
pname = "arabic_reshaper";
version = "2.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "zzGPpdUdLSJPpJv2vbu0aE9r0sBot1z84OYH+JrBmdw=";
};
propagatedBuildInputs = [ future ]
++ lib.optionals isPy27 [ configparser ];
# Tests are not published on pypi
doCheck = false;
pythonImportsCheck = [ "arabic_reshaper" ];
meta = with lib; {
homepage = "https://github.com/mpcabd/python-arabic-reshaper";
description = "Reconstruct Arabic sentences to be used in applications that don't support Arabic";
platforms = platforms.unix;
maintainers = with maintainers; [ freezeboy ];
};
}

View file

@ -358,6 +358,8 @@ in {
apsw = callPackage ../development/python-modules/apsw { };
arabic-reshaper = callPackage ../development/python-modules/arabic-reshaper { };
area = callPackage ../development/python-modules/area { };
arelle = callPackage ../development/python-modules/arelle { gui = true; };