{ lib, buildPythonPackage, fetchFromGitHub, setuptools, click, pytestCheckHook, pyyaml, pytest-icdiff, writableTmpDirAsHomeHook, }: buildPythonPackage rec { pname = "symbex"; version = "2.0"; pyproject = true; src = fetchFromGitHub { owner = "simonw"; repo = "symbex"; tag = version; hash = "sha256-swg98z4DpQJ5rq7tdsd3FofbYF7O5S+9ZR0weoM2DoI="; }; build-system = [ setuptools ]; dependencies = [ click ]; pythonImportsCheck = [ "symbex" ]; nativeCheckInputs = [ pytestCheckHook pyyaml pytest-icdiff writableTmpDirAsHomeHook ]; meta = { description = "Find the Python code for specified symbols"; homepage = "https://github.com/simonw/symbex"; changelog = "https://github.com/simonw/symbex/releases/tag/${version}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ philiptaron ]; }; }