python.pkgs.hbmqtt: fix for websockets 5.0

This commit is contained in:
Franz Pletz 2018-06-24 16:43:17 +02:00
parent 4817afbdc7
commit a85a0b100e
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, isPy3k
, transitions, websockets, passlib, docopt, pyyaml, nose }:
buildPythonPackage rec {
@ -12,6 +12,13 @@ buildPythonPackage rec {
sha256 = "6f61e05007648a4f33e300fafcf42776ca95508ba1141799f94169427ce5018c";
};
patches = [
(fetchpatch {
url = "https://github.com/beerfactory/hbmqtt/commit/75a85d1ea4cb41f2a15f2681d3114da7158942ae.patch";
sha256 = "0bl4v5zxp4kz2w7riwrx48f7yqmp7pxg79g9qavkda0i85lxswnp";
})
];
propagatedBuildInputs = [ transitions websockets passlib docopt pyyaml ];
checkInputs = [ nose ];