diff options
| author | Robert Schütz <dev@schuetz-co.de> | 2021-06-28 00:09:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-28 00:09:04 +0200 |
| commit | dbf5cd2d90cbf8b281c1938632b431d1e61d3249 (patch) | |
| tree | 781a1e028d5fb6b578a328023b27126c9801e8a4 /pkgs/development/python-modules | |
| parent | 26d76cf4326ad6097be9169761857fd6acc5bb31 (diff) | |
| parent | c82cb95a02ed74ba3105a318d13e48acf86f8a5a (diff) | |
Merge pull request #127997 from dotlambda/python-juicenet-init
home-assistant: support juicenet component
Diffstat (limited to 'pkgs/development/python-modules')
| -rw-r--r-- | pkgs/development/python-modules/python-juicenet/default.nix | 33 |
1 files changed, 33 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 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 ]; + }; +} |
