1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5}: 6 7buildPythonPackage rec { 8 pname = "pyedimax"; 9 version = "0.2.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "1i3gr5vygqh2ryg67sl13aaql7nvf3nbybrg54628r4g7911b5rk"; 14 }; 15 16 propagatedBuildInputs = [ requests ]; 17 18 # Project has no tests 19 doCheck = false; 20 pythonImportsCheck = [ "pyedimax" ]; 21 22 meta = with lib; { 23 description = "Python library for interfacing with the Edimax smart plugs"; 24 homepage = "https://github.com/andreipop2005/pyedimax"; 25 license = with licenses; [ mit ]; 26 maintainers = with maintainers; [ fab ]; 27 }; 28}