diff --git a/pkgs/development/python-modules/ropper/default.nix b/pkgs/development/python-modules/ropper/default.nix index 4d88ca3d47d8..4c8398a101d9 100644 --- a/pkgs/development/python-modules/ropper/default.nix +++ b/pkgs/development/python-modules/ropper/default.nix @@ -4,6 +4,7 @@ fetchFromGitHub, capstone, filebytes, + keystone-engine, pytestCheckHook, pythonOlder, setuptools, @@ -11,7 +12,7 @@ buildPythonPackage rec { pname = "ropper"; - version = "1.13.10"; + version = "1.13.13"; pyproject = true; disabled = pythonOlder "3.7"; @@ -19,8 +20,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "sashs"; repo = "Ropper"; - rev = "v${version}"; - hash = "sha256-yuHJ+EpglumEAXEu0iJKIXK1ouW1yptNahM9Wmk7AW4="; + tag = "v${version}"; + hash = "sha256-MOAbACLDdeKCMV4K/n1rAQlxDN0JoDIiUF6Zr3yPw8o="; }; build-system = [ setuptools ]; @@ -30,15 +31,20 @@ buildPythonPackage rec { filebytes ]; + optional-dependencies = { + ropchain = [ keystone-engine ]; + }; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "ropper" ]; meta = with lib; { description = "Show information about files in different file formats"; - mainProgram = "ropper"; homepage = "https://scoding.de/ropper/"; + changelog = "https://github.com/sashs/Ropper/releases/tag/${src.tag}"; license = licenses.bsd3; maintainers = with maintainers; [ bennofs ]; + mainProgram = "ropper"; }; }