Merge pull request #144963 from dotlambda/hbmqtt-drop
This commit is contained in:
commit
cdfc889591
3 changed files with 1 additions and 43 deletions
|
@ -1,41 +0,0 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, isPy3k, pythonAtLeast, setuptools
|
|
||||||
, transitions, websockets, passlib, docopt, pyyaml, nose }:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "hbmqtt";
|
|
||||||
version = "0.9.6";
|
|
||||||
|
|
||||||
# https://github.com/beerfactory/hbmqtt/issues/223
|
|
||||||
disabled = !isPy3k || pythonAtLeast "3.9";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "1n9c8yj11npiq9qxivwmfhib1qkjpcyw42a7q0w641bdrz3x6r37";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
transitions websockets passlib docopt pyyaml setuptools
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
# https://github.com/beerfactory/hbmqtt/pull/241
|
|
||||||
substituteInPlace hbmqtt/adapters.py \
|
|
||||||
--replace "websockets.protocol" "websockets.legacy.protocol"
|
|
||||||
|
|
||||||
# test tries to bind same port multiple times and fails
|
|
||||||
rm tests/test_client.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
checkInputs = [ nose ];
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
nosetests -e test_connect_tcp
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://github.com/beerfactory/hbmqtt";
|
|
||||||
description = "MQTT client/broker using Python asynchronous I/O";
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = with maintainers; [ dotlambda ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -55,6 +55,7 @@ mapAliases ({
|
||||||
googleapis_common_protos = googleapis-common-protos; # added 2021-03-19
|
googleapis_common_protos = googleapis-common-protos; # added 2021-03-19
|
||||||
grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21
|
grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21
|
||||||
HAP-python = hap-python; # added 2021-06-01
|
HAP-python = hap-python; # added 2021-06-01
|
||||||
|
hbmqtt = throw "hbmqtt was removed because it is no longer maintained"; # added 2021-11-07
|
||||||
IMAPClient = imapclient; # added 2021-10-28
|
IMAPClient = imapclient; # added 2021-10-28
|
||||||
jupyter_client = jupyter-client; # added 2021-10-15
|
jupyter_client = jupyter-client; # added 2021-10-15
|
||||||
lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04
|
lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04
|
||||||
|
|
|
@ -3452,8 +3452,6 @@ in {
|
||||||
|
|
||||||
hawkauthlib = callPackage ../development/python-modules/hawkauthlib { };
|
hawkauthlib = callPackage ../development/python-modules/hawkauthlib { };
|
||||||
|
|
||||||
hbmqtt = callPackage ../development/python-modules/hbmqtt { };
|
|
||||||
|
|
||||||
hcloud = callPackage ../development/python-modules/hcloud { };
|
hcloud = callPackage ../development/python-modules/hcloud { };
|
||||||
|
|
||||||
hcs_utils = callPackage ../development/python-modules/hcs_utils { };
|
hcs_utils = callPackage ../development/python-modules/hcs_utils { };
|
||||||
|
|
Loading…
Reference in a new issue