{ lib, buildPythonPackage, fetchPypi, setuptools, hypothesis, pythonOlder, pytestCheckHook, pytest-cov-stub, }: buildPythonPackage rec { pname = "pyisbn"; version = "1.3.1"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-cPVjgXlps/8IUGieULx/917puGXD+A+DWWSxMGxO1Rk="; }; build-system = [ setuptools ]; nativeCheckInputs = [ hypothesis pytestCheckHook pytest-cov-stub ]; pythonImportsCheck = [ "pyisbn" ]; meta = with lib; { description = "Python module for working with 10- and 13-digit ISBNs"; homepage = "https://github.com/JNRowe/pyisbn"; license = licenses.gpl3Plus; maintainers = with maintainers; [ eigengrau ]; }; }