{ lib, fetchFromGitHub, unstableGitUpdater, buildPythonPackage, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "apt-repo"; version = "0.5-unstable-2023-09-27"; pyproject = true; disabled = pythonOlder "3.5"; src = fetchFromGitHub { owner = "brennerm"; repo = "python-apt-repo"; rev = "0287c59317f9ec8e8edbf7c228665a7010f758e7"; hash = "sha256-9PA6AIeMXpaDc9g+rYpzwhf4ts3Xb31rvAUgDebTG4A="; }; passthru.updateScript = unstableGitUpdater { }; build-system = [ setuptools ]; nativeBuildInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "apt_repo" ]; meta = with lib; { description = "Python library to query APT repositories"; homepage = "https://github.com/brennerm/python-apt-repo"; license = licenses.mit; maintainers = with maintainers; [ nicoo ]; }; }