{ lib, buildPythonPackage, cython, fetchFromGitHub, poetry-core, pytest-cov-stub, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "cached-ipaddress"; version = "0.6.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "bdraco"; repo = "cached-ipaddress"; rev = "refs/tags/v${version}"; hash = "sha256-wF5GBQCmKHo3sX4lYA9/wS69x4fFNNh08VG3qMp9UKs="; }; build-system = [ cython poetry-core setuptools ]; nativeCheckInputs = [ pytest-cov-stub pytestCheckHook ]; pythonImportsCheck = [ "cached_ipaddress" ]; meta = with lib; { description = "Cache construction of ipaddress objects"; homepage = "https://github.com/bdraco/cached-ipaddress"; changelog = "https://github.com/bdraco/cached-ipaddress/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; maintainers = [ ]; }; }