diff --git a/pkgs/development/python-modules/py-schluter/default.nix b/pkgs/development/python-modules/py-schluter/default.nix new file mode 100644 index 000000000000..329d34603cb7 --- /dev/null +++ b/pkgs/development/python-modules/py-schluter/default.nix @@ -0,0 +1,34 @@ +{ + lib, + buildPythonPackage, + fetchPypi, + requests, + setuptools, +}: + +buildPythonPackage rec { + pname = "py-schluter"; + version = "0.1.7"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-FS6aflpRDoIHsE4XIf93Q6MsO9ApRbU+efm7zWpw/dY="; + }; + + build-system = [ setuptools ]; + + dependencies = [ requests ]; + + # Package has no tests + doCheck = false; + + pythonImportsCheck = [ "schluter" ]; + + meta = { + description = "Python API for Schluter DITRA-HEAT thermostat"; + homepage = "https://github.com/prairieapps/py-schluter"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.jamiemagee ]; + }; +} diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 8e1af9be886f..a1a5824877c2 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -5093,7 +5093,8 @@ ]; "schluter" = ps: with ps; [ - ]; # missing inputs: py-schluter + py-schluter + ]; "scl" = ps: with ps; [ ]; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 3ba4d002f364..2d3c984bebaf 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12249,6 +12249,8 @@ self: super: with self; { py-rust-stemmers = callPackage ../development/python-modules/py-rust-stemmers { }; + py-schluter = callPackage ../development/python-modules/py-schluter { }; + py-scrypt = callPackage ../development/python-modules/py-scrypt { }; py-serializable = callPackage ../development/python-modules/py-serializable { };