diff options
-rw-r--r-- | pkgs/development/python-modules/python-juicenet/default.nix | 33 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-juicenet/default.nix b/pkgs/development/python-modules/python-juicenet/default.nix new file mode 100644 index 00000000000..1547c891461 --- /dev/null +++ b/pkgs/development/python-modules/python-juicenet/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 72af595d3c1..e4cd9adff94 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5351,6 +5351,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 { }; |