{ lib, buildPythonPackage, fetchFromGitHub, capstone, filebytes, keystone-engine, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "ropper"; version = "1.13.13"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "sashs"; repo = "Ropper"; tag = "v${version}"; hash = "sha256-MOAbACLDdeKCMV4K/n1rAQlxDN0JoDIiUF6Zr3yPw8o="; }; build-system = [ setuptools ]; dependencies = [ capstone filebytes ]; optional-dependencies = { ropchain = [ keystone-engine ]; }; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "ropper" ]; meta = with lib; { description = "Show information about files in different file formats"; homepage = "https://scoding.de/ropper/"; changelog = "https://github.com/sashs/Ropper/releases/tag/${src.tag}"; license = licenses.bsd3; maintainers = with maintainers; [ bennofs ]; mainProgram = "ropper"; }; }