Merge pull request #127997 from dotlambda/python-juicenet-init

home-assistant: support juicenet component

authored by Robert Schütz and committed by GitHub dbf5cd2d 26d76cf4

+37 -1
+33
pkgs/development/python-modules/python-juicenet/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , aiohttp 5 + }: 6 + 7 + buildPythonPackage 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 + }
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 417 417 "izone" = ps: with ps; [ python-izone ]; 418 418 "jewish_calendar" = ps: with ps; [ hdate ]; 419 419 "joaoapps_join" = ps: with ps; [ ]; # missing inputs: python-join-api 420 - "juicenet" = ps: with ps; [ ]; # missing inputs: python-juicenet 420 + "juicenet" = ps: with ps; [ python-juicenet ]; 421 421 "kaiterra" = ps: with ps; [ ]; # missing inputs: kaiterra-async-client 422 422 "kankun" = ps: with ps; [ ]; 423 423 "keba" = ps: with ps; [ ]; # missing inputs: keba-kecontact
+1
pkgs/servers/home-assistant/default.nix
··· 508 508 "isy994" 509 509 "izone" 510 510 "jewish_calendar" 511 + "juicenet" 511 512 "keenetic_ndms2" 512 513 "kira" 513 514 "kmtronic"
+2
pkgs/top-level/python-packages.nix
··· 5355 5355 5356 5356 python-izone = callPackage ../development/python-modules/python-izone { }; 5357 5357 5358 + python-juicenet = callPackage ../development/python-modules/python-juicenet { }; 5359 + 5358 5360 python-openems = callPackage ../development/python-modules/python-openems { }; 5359 5361 5360 5362 python-openzwave-mqtt = callPackage ../development/python-modules/python-openzwave-mqtt { };