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 000000000000..1547c8914617 --- /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 72af595d3c1f..e4cd9adff946 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 { };