From c1fed663935e0b38381c7751f4301c49fbe46620 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 13 Jan 2023 07:53:26 +0000 Subject: [PATCH 1/2] python310Packages.arabic-reshaper: 2.1.4 -> 3.0.0 --- pkgs/development/python-modules/arabic-reshaper/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/arabic-reshaper/default.nix b/pkgs/development/python-modules/arabic-reshaper/default.nix index de1ea1c190d7..0b88946893cd 100644 --- a/pkgs/development/python-modules/arabic-reshaper/default.nix +++ b/pkgs/development/python-modules/arabic-reshaper/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "arabic-reshaper"; - version = "2.1.4"; + version = "3.0.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -17,8 +17,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "mpcabd"; repo = "python-arabic-reshaper"; - rev = "v${version}"; - hash = "sha256-qQGIC/KequOQZoxwm7AEkdPV0QpS7YoBV9v8ZA7AYQM="; + rev = "refs/tags/v${version}"; + hash = "sha256-ucSC5aTvpnlAVQcT0afVecnoN3hIZKtzUhEQ6Qg0jQM="; }; propagatedBuildInputs = [ From 2caf7f66404d9723265cb69c96e3aa178bed0bcc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 14 Jan 2023 11:33:58 +0100 Subject: [PATCH 2/2] python310Packages.arabic-reshaper: add changelog to meta - adjust inputs --- pkgs/development/python-modules/arabic-reshaper/default.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/arabic-reshaper/default.nix b/pkgs/development/python-modules/arabic-reshaper/default.nix index 0b88946893cd..d92f549b35ab 100644 --- a/pkgs/development/python-modules/arabic-reshaper/default.nix +++ b/pkgs/development/python-modules/arabic-reshaper/default.nix @@ -2,7 +2,6 @@ , buildPythonPackage , fetchFromGitHub , fonttools -, future , pytestCheckHook , pythonOlder }: @@ -21,10 +20,6 @@ buildPythonPackage rec { hash = "sha256-ucSC5aTvpnlAVQcT0afVecnoN3hIZKtzUhEQ6Qg0jQM="; }; - propagatedBuildInputs = [ - future - ]; - passthru.optional-dependencies = { with-fonttools = [ fonttools @@ -42,6 +37,7 @@ buildPythonPackage rec { 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 ]; };