{ lib , buildPythonPackage , fetchPypi , setuptools , pytestCheckHook , pythonOlder , typing-extensions }: buildPythonPackage rec { pname = "beartype"; version = "0.18.5"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-Jk3cLx2p7JT/Y5FB++M9IuEqn3WqhjuDtwRv//E4GSc="; }; nativeBuildInputs = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook typing-extensions ]; pythonImportsCheck = [ "beartype" ]; meta = with lib; { description = "Fast runtime type checking for Python"; homepage = "https://github.com/beartype/beartype"; changelog = "https://github.com/beartype/beartype/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ bcdarwin ]; }; }