bat: 0.24.0 -> 0.25.0 (#371913)
[NixPkgs.git] / pkgs / development / python-modules / arabic-reshaper / default.nix
blobae0ce3cb55192bf60631ac6739060cc11b474734
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   fonttools,
6   pytestCheckHook,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "arabic-reshaper";
12   version = "3.0.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "mpcabd";
19     repo = "python-arabic-reshaper";
20     tag = "v${version}";
21     hash = "sha256-ucSC5aTvpnlAVQcT0afVecnoN3hIZKtzUhEQ6Qg0jQM=";
22   };
24   optional-dependencies = {
25     with-fonttools = [ fonttools ];
26   };
28   nativeCheckInputs = [ pytestCheckHook ];
30   pythonImportsCheck = [ "arabic_reshaper" ];
32   meta = with lib; {
33     description = "Reconstruct Arabic sentences to be used in applications that don't support Arabic";
34     homepage = "https://github.com/mpcabd/python-arabic-reshaper";
35     changelog = "https://github.com/mpcabd/python-arabic-reshaper/releases/tag/v${version}";
36     license = with licenses; [ mit ];
37     maintainers = with maintainers; [ freezeboy ];
38   };