diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-01-27 09:45:34 +0100 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-01-27 11:42:20 +0100 |
commit | f2a5b2fd65ddc75d979522f281889291bc08b45b (patch) | |
tree | d5a9eb8f9282062250ae09cec2a31fb28cdc2472 /pkgs/development/python-modules/hbmqtt | |
parent | 2474e6e212accb9901e8d08bd90681a18183eff5 (diff) | |
download | nixlib-f2a5b2fd65ddc75d979522f281889291bc08b45b.tar nixlib-f2a5b2fd65ddc75d979522f281889291bc08b45b.tar.gz nixlib-f2a5b2fd65ddc75d979522f281889291bc08b45b.tar.bz2 nixlib-f2a5b2fd65ddc75d979522f281889291bc08b45b.tar.lz nixlib-f2a5b2fd65ddc75d979522f281889291bc08b45b.tar.xz nixlib-f2a5b2fd65ddc75d979522f281889291bc08b45b.tar.zst nixlib-f2a5b2fd65ddc75d979522f281889291bc08b45b.zip |
pythonPackages.hbmqtt: init at 0.9.1
Diffstat (limited to 'pkgs/development/python-modules/hbmqtt')
-rw-r--r-- | pkgs/development/python-modules/hbmqtt/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/hbmqtt/default.nix b/pkgs/development/python-modules/hbmqtt/default.nix new file mode 100644 index 000000000000..379aa1c3cf42 --- /dev/null +++ b/pkgs/development/python-modules/hbmqtt/default.nix @@ -0,0 +1,29 @@ +{ stdenv, buildPythonPackage, fetchPypi, isPy3k +, transitions, websockets, passlib, docopt, pyyaml, nose }: + +buildPythonPackage rec { + pname = "hbmqtt"; + version = "0.9.1"; + + disabled = !isPy3k; + + src = fetchPypi { + inherit pname version; + sha256 = "04lqqcy84f9gcwqhrlvzp689r3mkdd8ipsnfzw8gryfny4lh8wrx"; + }; + + propagatedBuildInputs = [ transitions websockets passlib docopt pyyaml ]; + + checkInputs = [ nose ]; + + checkPhase = '' + nosetests -e test_connect_tcp + ''; + + meta = with stdenv.lib; { + homepage = https://github.com/beerfactory/hbmqtt; + description = "MQTT client/broker using Python asynchronous I/O"; + license = licenses.mit; + maintainers = with maintainers; [ dotlambda ]; + }; +} |