at 24.05-pre 832 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.8.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.8"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-zkghLJe1SzN2qOeL23+T2ISjGkuODd9tJA1tO3hw2a0="; 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 changelog = "https://github.com/home-assistant-ecosystem/python-hole/releases/tag/${version}"; 37 license = with licenses; [ mit ]; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}