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