at 24.05-pre 895 B view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchPypi 5, pytest-asyncio 6, pytest-cov 7, pytest-httpserver 8, pytestCheckHook 9, pythonOlder 10, setuptools-scm 11, voluptuous 12}: 13 14buildPythonPackage rec { 15 pname = "solax"; 16 version = "0.3.2"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.8"; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-7UDTG8rw9XJd5LPqcAe2XyE7DQa96dBj9YOcgW+/aFc="; 24 }; 25 26 nativeBuildInputs = [ 27 setuptools-scm 28 ]; 29 30 propagatedBuildInputs = [ 31 aiohttp 32 voluptuous 33 ]; 34 35 nativeCheckInputs = [ 36 pytest-asyncio 37 pytest-cov 38 pytest-httpserver 39 pytestCheckHook 40 ]; 41 42 pythonImportsCheck = [ 43 "solax" 44 ]; 45 46 meta = with lib; { 47 description = "Python wrapper for the Solax Inverter API"; 48 homepage = "https://github.com/squishykid/solax"; 49 license = with licenses; [ mit ]; 50 maintainers = with maintainers; [ fab ]; 51 }; 52}