diff --git a/pkgs/development/python-modules/pynecil/default.nix b/pkgs/development/python-modules/pynecil/default.nix index 6faad0bd4706..a8337331cb16 100644 --- a/pkgs/development/python-modules/pynecil/default.nix +++ b/pkgs/development/python-modules/pynecil/default.nix @@ -1,6 +1,7 @@ { aiohttp, bleak, + bleak-retry-connector, buildPythonPackage, fetchFromGitHub, hatch-regex-commit, @@ -13,14 +14,14 @@ buildPythonPackage rec { pname = "pynecil"; - version = "4.1.1"; + version = "4.2.0"; pyproject = true; src = fetchFromGitHub { owner = "tr4nt0r"; repo = "pynecil"; tag = "v${version}"; - hash = "sha256-4P9xsqTitUinGC/dH/4e/HtF7OvupjqTTNKTwo9Vuhc="; + hash = "sha256-ZEg5fmSE594YEgcJROOeVqc1reyGlyQiYNoCcfUanrY="; }; pythonRelaxDeps = [ "aiohttp" ]; @@ -33,6 +34,7 @@ buildPythonPackage rec { dependencies = [ aiohttp bleak + bleak-retry-connector ]; pythonImportsCheck = [ "pynecil" ]; @@ -43,6 +45,11 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTests = [ + # requires access to system D-Bus + "test_get_settings_communication_error" + ]; + meta = { changelog = "https://github.com/tr4nt0r/pynecil/releases/tag/${src.tag}"; description = "Python library to communicate with Pinecil V2 soldering irons via Bluetooth";