1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, requests 6, simplejson 7}: 8 9buildPythonPackage rec { 10 pname = "wallbox"; 11 version = "0.4.6"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "651c61e2264258382d1f54c4f0bf6bcd198482a744d8f1db3dd73084c240d9bb"; 18 }; 19 20 propagatedBuildInputs = [ 21 requests 22 simplejson 23 ]; 24 25 # no tests implemented 26 doCheck = false; 27 28 pythonImportsCheck = [ "wallbox" ]; 29 30 meta = with lib; { 31 description = "Module for interacting with Wallbox EV charger api"; 32 homepage = "https://github.com/cliviu74/wallbox"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ dotlambda ]; 35 }; 36}