at master 822 B view raw
1{ 2 lib, 3 aenum, 4 buildPythonPackage, 5 fetchFromGitHub, 6 requests, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "wallbox"; 12 version = "0.9.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "cliviu74"; 17 repo = "wallbox"; 18 tag = version; 19 hash = "sha256-1/hm0x71YTW3cA11Nw/e4xUol5T9lElgm1bKi1wRi3o="; 20 }; 21 22 build-system = [ 23 setuptools 24 ]; 25 26 dependencies = [ 27 aenum 28 requests 29 ]; 30 31 # no tests implemented 32 doCheck = false; 33 34 pythonImportsCheck = [ "wallbox" ]; 35 36 meta = { 37 description = "Module for interacting with Wallbox EV charger API"; 38 homepage = "https://github.com/cliviu74/wallbox"; 39 changelog = "https://github.com/cliviu74/wallbox/releases/tag/${src.tag}"; 40 license = lib.licenses.mit; 41 maintainers = with lib.maintainers; [ dotlambda ]; 42 }; 43}