diff --git a/pkgs/development/python-modules/pymysensors/default.nix b/pkgs/development/python-modules/pymysensors/default.nix index d071743d748d..e9d6ab74ad8c 100644 --- a/pkgs/development/python-modules/pymysensors/default.nix +++ b/pkgs/development/python-modules/pymysensors/default.nix @@ -1,4 +1,5 @@ { lib +, awesomeversion , buildPythonPackage , click , crcmod @@ -17,29 +18,35 @@ buildPythonPackage rec { pname = "pymysensors"; - version = "0.23.0"; + version = "0.24.1"; format = "setuptools"; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "theolind"; repo = pname; rev = version; - sha256 = "0a09w1bzz2pn0w11f7kx8052914kdpgfb7w6hc9s50x8wl9q604h"; + hash = "sha256-3t9YrSJf02kc5CuTqPBc/qNJV7yy7Vke4WqhtuOaAYo="; }; propagatedBuildInputs = [ + awesomeversion click crcmod getmac intelhex - paho-mqtt pyserial pyserial-asyncio voluptuous ]; + passthru.optional-dependencies = { + mqtt-client = [ + paho-mqtt + ]; + }; + checkInputs = [ pytest-sugar pytest-timeout