Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 37 lines 864 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 unstableGitUpdater, 5 6 buildPythonPackage, 7 pytestCheckHook, 8 pythonOlder, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "apt-repo"; 14 version = "0.5-unstable-2023-09-27"; 15 pyproject = true; 16 disabled = pythonOlder "3.5"; 17 18 src = fetchFromGitHub { 19 owner = "brennerm"; 20 repo = "python-apt-repo"; 21 rev = "0287c59317f9ec8e8edbf7c228665a7010f758e7"; 22 hash = "sha256-9PA6AIeMXpaDc9g+rYpzwhf4ts3Xb31rvAUgDebTG4A="; 23 }; 24 passthru.updateScript = unstableGitUpdater { }; 25 26 build-system = [ setuptools ]; 27 nativeBuildInputs = [ pytestCheckHook ]; 28 29 pythonImportsCheck = [ "apt_repo" ]; 30 31 meta = with lib; { 32 description = "Python library to query APT repositories"; 33 homepage = "https://github.com/brennerm/python-apt-repo"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ nicoo ]; 36 }; 37}