Merge pull request #127997 from dotlambda/python-juicenet-init
home-assistant: support juicenet component
This commit is contained in:
commit
dbf5cd2d90
4 changed files with 37 additions and 1 deletions
33
pkgs/development/python-modules/python-juicenet/default.nix
Normal file
33
pkgs/development/python-modules/python-juicenet/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, aiohttp
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-juicenet";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jesserockz";
|
||||
repo = "python-juicenet";
|
||||
rev = "v${version}";
|
||||
sha256 = "04547pj51ds31yhyc7ng47v9giz16h2s3wgb6szc8ivhb5rclqz2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
# no tests implemented
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pyjuicenet" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Read and control Juicenet/Juicepoint/Juicebox based EVSE devices";
|
||||
homepage = "https://github.com/jesserockz/python-juicenet";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
|
@ -417,7 +417,7 @@
|
|||
"izone" = ps: with ps; [ python-izone ];
|
||||
"jewish_calendar" = ps: with ps; [ hdate ];
|
||||
"joaoapps_join" = ps: with ps; [ ]; # missing inputs: python-join-api
|
||||
"juicenet" = ps: with ps; [ ]; # missing inputs: python-juicenet
|
||||
"juicenet" = ps: with ps; [ python-juicenet ];
|
||||
"kaiterra" = ps: with ps; [ ]; # missing inputs: kaiterra-async-client
|
||||
"kankun" = ps: with ps; [ ];
|
||||
"keba" = ps: with ps; [ ]; # missing inputs: keba-kecontact
|
||||
|
|
|
@ -508,6 +508,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
"isy994"
|
||||
"izone"
|
||||
"jewish_calendar"
|
||||
"juicenet"
|
||||
"keenetic_ndms2"
|
||||
"kira"
|
||||
"kmtronic"
|
||||
|
|
|
@ -5355,6 +5355,8 @@ in {
|
|||
|
||||
python-izone = callPackage ../development/python-modules/python-izone { };
|
||||
|
||||
python-juicenet = callPackage ../development/python-modules/python-juicenet { };
|
||||
|
||||
python-openems = callPackage ../development/python-modules/python-openems { };
|
||||
|
||||
python-openzwave-mqtt = callPackage ../development/python-modules/python-openzwave-mqtt { };
|
||||
|
|
Loading…
Reference in a new issue