pythonPackages.hbmqtt: disable on Python 3.9

See https://github.com/beerfactory/hbmqtt/issues/223.
This commit is contained in:
Robert Schütz 2021-01-22 19:56:12 +01:00 committed by Jonathan Ringer
parent 8c1ce4ec70
commit c173f673ed

View File

@ -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;