1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, aiohttp 5}: 6 7buildPythonPackage rec { 8 pname = "python-juicenet"; 9 version = "1.0.2"; 10 11 src = fetchFromGitHub { 12 owner = "jesserockz"; 13 repo = "python-juicenet"; 14 rev = "v${version}"; 15 sha256 = "04547pj51ds31yhyc7ng47v9giz16h2s3wgb6szc8ivhb5rclqz2"; 16 }; 17 18 propagatedBuildInputs = [ 19 aiohttp 20 ]; 21 22 # no tests implemented 23 doCheck = false; 24 25 pythonImportsCheck = [ "pyjuicenet" ]; 26 27 meta = with lib; { 28 description = "Read and control Juicenet/Juicepoint/Juicebox based EVSE devices"; 29 homepage = "https://github.com/jesserockz/python-juicenet"; 30 license = licenses.mit; 31 maintainers = with maintainers; [ dotlambda ]; 32 }; 33}