at 23.05-pre 735 B view raw
1{ lib 2, aiohttp 3, async-timeout 4, buildPythonPackage 5, fetchPypi 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "hole"; 11 version = "0.7.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.8"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "sha256-yZpzGfB5RTWaRn2DmT+cbSDC0pL16FyUc0Nr/V6TlhU="; 19 }; 20 21 propagatedBuildInputs = [ 22 aiohttp 23 async-timeout 24 ]; 25 26 # no tests are present 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "hole" 31 ]; 32 33 meta = with lib; { 34 description = "Python API for interacting with a Pihole instance."; 35 homepage = "https://github.com/home-assistant-ecosystem/python-hole"; 36 license = with licenses; [ mit ]; 37 maintainers = with maintainers; [ fab ]; 38 }; 39}