From 25796aa3ca8dbf093dbd31330b3c53874df97eb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 26 Nov 2025 15:50:15 -0800 Subject: [PATCH] python3Packages.hueble: init at 1.0.8 --- .../python-modules/hueble/default.nix | 41 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 43 insertions(+) create mode 100644 pkgs/development/python-modules/hueble/default.nix diff --git a/pkgs/development/python-modules/hueble/default.nix b/pkgs/development/python-modules/hueble/default.nix new file mode 100644 index 000000000000..5cc3e17bc98f --- /dev/null +++ b/pkgs/development/python-modules/hueble/default.nix @@ -0,0 +1,41 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + bleak, + bleak-retry-connector, +}: + +buildPythonPackage rec { + pname = "hueble"; + version = "1.0.8"; + pyproject = true; + + src = fetchFromGitHub { + owner = "flip-dots"; + repo = "HueBLE"; + tag = "v${version}"; + hash = "sha256-4/NB9dPidsvWXb+H5cK7STfdTfnRgh2W0l2bBCLq/ks="; + }; + + build-system = [ setuptools ]; + + dependencies = [ + bleak + bleak-retry-connector + ]; + + pythonImportsCheck = [ "HueBLE" ]; + + # upstream has no tests + doCheck = false; + + meta = { + changelog = "https://github.com/flip-dots/HueBLE/blob/${src.tag}/CHANGELOG.rst"; + description = "Python module for controlling Bluetooth Philips Hue lights"; + homepage = "https://github.com/flip-dots/HueBLE"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.dotlambda ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e11b0181ed7b..27627cf47399 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6979,6 +6979,8 @@ self: super: with self; { huawei-lte-api = callPackage ../development/python-modules/huawei-lte-api { }; + hueble = callPackage ../development/python-modules/hueble { }; + huepy = callPackage ../development/python-modules/huepy { }; huey = callPackage ../development/python-modules/huey { };