Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
958 B · 39 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940{ lib, buildPythonPackage, fetchFromGitHub, fonttools, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "arabic-reshaper"; version = "3.0.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "mpcabd"; repo = "python-arabic-reshaper"; tag = "v${version}"; hash = "sha256-ucSC5aTvpnlAVQcT0afVecnoN3hIZKtzUhEQ6Qg0jQM="; };
optional-dependencies = { with-fonttools = [ fonttools ]; };
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "arabic_reshaper" ];
meta = with lib; { description = "Reconstruct Arabic sentences to be used in applications that don't support Arabic"; homepage = "https://github.com/mpcabd/python-arabic-reshaper"; changelog = "https://github.com/mpcabd/python-arabic-reshaper/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ freezeboy ]; };}