Loading pkgs/development/python-modules/motionblindsble/default.nix 0 → 100644 +55 −0 Original line number Diff line number Diff line { lib, bleak-retry-connector, bleak, buildPythonPackage, fetchFromGitHub, pycryptodome, pytest-asyncio, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "motionblindsble"; version = "0.1.0"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "LennP"; repo = "motionblindsble"; rev = "refs/tags/${version}"; hash = "sha256-jWd+7jRuJ8UIIZjx8+7BNCwIo+o4mxAFB2csytmnuso="; }; postPatch = '' substituteInPlace setup.py \ --replace-fail "{{VERSION_PLACEHOLDER}}" "${version}" ''; build-system = [ setuptools ]; dependencies = [ bleak bleak-retry-connector pycryptodome ]; nativeCheckInputs = [ pytest-asyncio pytestCheckHook ]; pythonImportsCheck = [ "motionblindsble" ]; meta = with lib; { description = "Module to interface with Motionblinds motors using Bluetooth Low Energy (BLE)"; homepage = "https://github.com/LennP/motionblindsble"; changelog = "https://github.com/LennP/motionblindsble/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; } pkgs/servers/home-assistant/component-packages.nix +3 −1 Original line number Diff line number Diff line Loading @@ -2893,6 +2893,7 @@ hassil home-assistant-intents ifaddr motionblindsble mutagen psutil-home-assistant pyserial Loading @@ -2900,7 +2901,7 @@ sqlalchemy webrtc-noise-gain zeroconf ]; # missing inputs: motionblindsble ]; "motioneye" = ps: with ps; [ motioneye-client ]; Loading Loading @@ -5663,6 +5664,7 @@ "moon" "mopeka" "motion_blinds" "motionblinds_ble" "motioneye" "motionmount" "mqtt" Loading pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7780,6 +7780,8 @@ self: super: with self; { motionblinds = callPackage ../development/python-modules/motionblinds { }; motionblindsble = callPackage ../development/python-modules/motionblindsble { }; motioneye-client = callPackage ../development/python-modules/motioneye-client { }; moto = callPackage ../development/python-modules/moto { }; Loading Loading
pkgs/development/python-modules/motionblindsble/default.nix 0 → 100644 +55 −0 Original line number Diff line number Diff line { lib, bleak-retry-connector, bleak, buildPythonPackage, fetchFromGitHub, pycryptodome, pytest-asyncio, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "motionblindsble"; version = "0.1.0"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "LennP"; repo = "motionblindsble"; rev = "refs/tags/${version}"; hash = "sha256-jWd+7jRuJ8UIIZjx8+7BNCwIo+o4mxAFB2csytmnuso="; }; postPatch = '' substituteInPlace setup.py \ --replace-fail "{{VERSION_PLACEHOLDER}}" "${version}" ''; build-system = [ setuptools ]; dependencies = [ bleak bleak-retry-connector pycryptodome ]; nativeCheckInputs = [ pytest-asyncio pytestCheckHook ]; pythonImportsCheck = [ "motionblindsble" ]; meta = with lib; { description = "Module to interface with Motionblinds motors using Bluetooth Low Energy (BLE)"; homepage = "https://github.com/LennP/motionblindsble"; changelog = "https://github.com/LennP/motionblindsble/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }
pkgs/servers/home-assistant/component-packages.nix +3 −1 Original line number Diff line number Diff line Loading @@ -2893,6 +2893,7 @@ hassil home-assistant-intents ifaddr motionblindsble mutagen psutil-home-assistant pyserial Loading @@ -2900,7 +2901,7 @@ sqlalchemy webrtc-noise-gain zeroconf ]; # missing inputs: motionblindsble ]; "motioneye" = ps: with ps; [ motioneye-client ]; Loading Loading @@ -5663,6 +5664,7 @@ "moon" "mopeka" "motion_blinds" "motionblinds_ble" "motioneye" "motionmount" "mqtt" Loading
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7780,6 +7780,8 @@ self: super: with self; { motionblinds = callPackage ../development/python-modules/motionblinds { }; motionblindsble = callPackage ../development/python-modules/motionblindsble { }; motioneye-client = callPackage ../development/python-modules/motioneye-client { }; moto = callPackage ../development/python-modules/moto { }; Loading