Loading pkgs/development/python-modules/bluecurrent-api/default.nix 0 → 100644 +52 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , pythonOlder , fetchPypi , pythonRelaxDepsHook , setuptools , pytz , websockets , pytest-mock , pytestCheckHook }: buildPythonPackage rec { pname = "bluecurrent-api"; version = "1.0.6"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; hash = "sha256-XHVdtkiG0ff/OY8g+W5iur7OAyhhk1UGA+XUfB2L8/o="; }; nativeBuildInputs = [ pythonRelaxDepsHook setuptools ]; pythonRemoveDeps = [ "asyncio" ]; propagatedBuildInputs = [ pytz websockets ]; pythonImportsCheck = [ "bluecurrent_api" ]; nativeCheckInputs = [ pytest-mock pytestCheckHook ]; meta = { description = "Wrapper for the Blue Current websocket api"; homepage = "https://github.com/bluecurrent/HomeAssistantAPI"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -1575,6 +1575,8 @@ self: super: with self; { blosc2 = callPackage ../development/python-modules/blosc2 { }; bluecurrent-api = callPackage ../development/python-modules/bluecurrent-api { }; bluemaestro-ble = callPackage ../development/python-modules/bluemaestro-ble { }; bluepy = callPackage ../development/python-modules/bluepy { }; Loading Loading
pkgs/development/python-modules/bluecurrent-api/default.nix 0 → 100644 +52 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , pythonOlder , fetchPypi , pythonRelaxDepsHook , setuptools , pytz , websockets , pytest-mock , pytestCheckHook }: buildPythonPackage rec { pname = "bluecurrent-api"; version = "1.0.6"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; hash = "sha256-XHVdtkiG0ff/OY8g+W5iur7OAyhhk1UGA+XUfB2L8/o="; }; nativeBuildInputs = [ pythonRelaxDepsHook setuptools ]; pythonRemoveDeps = [ "asyncio" ]; propagatedBuildInputs = [ pytz websockets ]; pythonImportsCheck = [ "bluecurrent_api" ]; nativeCheckInputs = [ pytest-mock pytestCheckHook ]; meta = { description = "Wrapper for the Blue Current websocket api"; homepage = "https://github.com/bluecurrent/HomeAssistantAPI"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -1575,6 +1575,8 @@ self: super: with self; { blosc2 = callPackage ../development/python-modules/blosc2 { }; bluecurrent-api = callPackage ../development/python-modules/bluecurrent-api { }; bluemaestro-ble = callPackage ../development/python-modules/bluemaestro-ble { }; bluepy = callPackage ../development/python-modules/bluepy { }; Loading