diff --git a/pkgs/development/python-modules/pycomfoconnect/default.nix b/pkgs/development/python-modules/pycomfoconnect/default.nix index 0c35dc4d5ba..79cc0334c2f 100644 --- a/pkgs/development/python-modules/pycomfoconnect/default.nix +++ b/pkgs/development/python-modules/pycomfoconnect/default.nix @@ -2,17 +2,21 @@ , buildPythonPackage , fetchFromGitHub , protobuf +, pythonOlder }: buildPythonPackage rec { pname = "pycomfoconnect"; - version = "0.4"; + version = "0.5.1"; + format = "setuptools"; + + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "michaelarnauts"; repo = "comfoconnect"; - rev = version; - sha256 = "0bipzv68yw056iz9m2g9h40hzrwd058a7crxp0xbq4rw2d8j0jn6"; + rev = "refs/tags/${version}"; + sha256 = "sha256-I/0vCgSEi6mgYg1fMH4Ha7PoonewtqYYsvXZT8y4rJE="; }; propagatedBuildInputs = [ @@ -22,11 +26,14 @@ buildPythonPackage rec { # Project has no tests doCheck = false; - pythonImportsCheck = [ "pycomfoconnect" ]; + pythonImportsCheck = [ + "pycomfoconnect" + ]; meta = with lib; { description = "Python module to interact with ComfoAir Q350/450/600 units"; homepage = "https://github.com/michaelarnauts/comfoconnect"; + changelog = "https://github.com/michaelarnauts/comfoconnect/releases/tag/${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };