1{ lib 2, paho-mqtt 3, buildPythonPackage 4, fetchPypi 5, aiohttp 6}: 7 8buildPythonPackage rec { 9 pname = "pyeconet"; 10 version = "0.1.14"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "sha256-x0mkC2k65VrDhv7UavgDUuRWIQoAJMDtA7jNXNUJuVg="; 15 }; 16 17 propagatedBuildInputs = [ 18 paho-mqtt 19 aiohttp 20 ]; 21 22 # Tests require credentials 23 doCheck = false; 24 pythonImportsCheck = [ "pyeconet" ]; 25 26 meta = with lib; { 27 description = "Python interface to the EcoNet API"; 28 homepage = "https://github.com/w1ll1am23/pyeconet"; 29 license = with licenses; [ mit ]; 30 maintainers = with maintainers; [ fab ]; 31 }; 32}