at master 831 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 unstableGitUpdater, 5 6 buildPythonPackage, 7 pytestCheckHook, 8 setuptools, 9}: 10 11buildPythonPackage { 12 pname = "apt-repo"; 13 version = "0.5-unstable-2023-09-27"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "brennerm"; 18 repo = "python-apt-repo"; 19 rev = "0287c59317f9ec8e8edbf7c228665a7010f758e7"; 20 hash = "sha256-9PA6AIeMXpaDc9g+rYpzwhf4ts3Xb31rvAUgDebTG4A="; 21 }; 22 passthru.updateScript = unstableGitUpdater { }; 23 24 build-system = [ setuptools ]; 25 26 doCheck = false; # All tests require a network connection 27 28 pythonImportsCheck = [ "apt_repo" ]; 29 30 meta = with lib; { 31 description = "Python library to query APT repositories"; 32 homepage = "https://github.com/brennerm/python-apt-repo"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ nicoo ]; 35 }; 36}