1{ lib 2, aiohttp 3, async-timeout 4, buildPythonPackage 5, fetchPypi 6, pytestCheckHook 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "aiopvapi"; 12 version = "1.6.14"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.5"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "02bl7q166j6rb8av9n1jz11xlwhrzmbkjq70mwr86qaj63pcxrak"; 20 }; 21 22 propagatedBuildInputs = [ 23 aiohttp 24 async-timeout 25 ]; 26 27 checkInputs = [ 28 pytestCheckHook 29 ]; 30 31 pythonImportsCheck = [ "aiopvapi" ]; 32 33 meta = with lib; { 34 description = "Python API for the PowerView API"; 35 homepage = "https://github.com/sander76/aio-powerview-api"; 36 license = with licenses; [ bsd3 ]; 37 maintainers = with maintainers; [ fab ]; 38 }; 39}