1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, iso4217 6, pythonOlder 7, pytz 8}: 9 10buildPythonPackage rec { 11 pname = "pyefergy"; 12 version = "0.1.4"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "tkdrob"; 19 repo = pname; 20 rev = version; 21 sha256 = "sha256-X/dWEBg3WG6SmMore5otLL4iIueGUS5KgjCPYoMSNd0="; 22 }; 23 24 propagatedBuildInputs = [ 25 aiohttp 26 iso4217 27 pytz 28 ]; 29 30 # Project has no tests 31 doCheck = false; 32 33 pythonImportsCheck = [ "pyefergy" ]; 34 35 meta = with lib; { 36 description = "Python API library for Efergy energy meters"; 37 homepage = "https://github.com/tkdrob/pyefergy"; 38 license = with licenses; [ mit ]; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}