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