From 0dcd4e050a42587c0006f6f6a993a4fc40eecd65 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 8 Sep 2022 01:40:16 +0200 Subject: [PATCH] python310Packages.pymysensors: 0.23.0 -> 0.24.1 (#188063) --- .../python-modules/pymysensors/default.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) 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