at 22.05-pre 739 B view raw
1{ lib 2, aiohttp 3, attrs 4, buildPythonPackage 5, fetchPypi 6, jmespath 7, async-timeout 8}: 9 10buildPythonPackage rec { 11 pname = "pysma"; 12 version = "0.6.8"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "9490d72596db64d339aefee56940e058fddb52c2f0f5d5cce3c39ef94f39dbb9"; 17 }; 18 19 propagatedBuildInputs = [ 20 aiohttp 21 async-timeout 22 attrs 23 jmespath 24 ]; 25 26 # pypi does not contain tests and GitHub archive not available 27 doCheck = false; 28 pythonImportsCheck = [ "pysma" ]; 29 30 meta = with lib; { 31 description = "Python library for interacting with SMA Solar's WebConnect"; 32 homepage = "https://github.com/kellerza/pysma"; 33 license = with licenses; [ mit ]; 34 maintainers = with maintainers; [ fab ]; 35 }; 36}