From c173f673edff5f3825f23e75ad75b7a2d1742ba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 22 Jan 2021 19:56:12 +0100 Subject: [PATCH] pythonPackages.hbmqtt: disable on Python 3.9 See https://github.com/beerfactory/hbmqtt/issues/223. --- pkgs/development/python-modules/hbmqtt/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/hbmqtt/default.nix b/pkgs/development/python-modules/hbmqtt/default.nix index 053e955ad806..003805f939c6 100644 --- a/pkgs/development/python-modules/hbmqtt/default.nix +++ b/pkgs/development/python-modules/hbmqtt/default.nix @@ -1,11 +1,12 @@ -{ lib, stdenv, buildPythonPackage, fetchPypi, isPy3k, setuptools +{ lib, stdenv, buildPythonPackage, fetchPypi, isPy3k, pythonAtLeast, setuptools , transitions, websockets, passlib, docopt, pyyaml, nose }: buildPythonPackage rec { pname = "hbmqtt"; version = "0.9.6"; - disabled = !isPy3k; + # https://github.com/beerfactory/hbmqtt/issues/223 + disabled = !isPy3k || pythonAtLeast "3.9"; src = fetchPypi { inherit pname version;