summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-openzwave-mqtt
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-02-03 21:33:39 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-02-04 00:44:24 +0100
commit8557a6e0c671fe7ad53278ce6bd1ab825d7481ee (patch)
tree85b1f6918031e5a1cddbc814cb36905e91fc9287 /pkgs/development/python-modules/python-openzwave-mqtt
parent91f78faa40a3617e8f17a86f1d78f2bf3436eac3 (diff)
downloadnixpkgs-8557a6e0c671fe7ad53278ce6bd1ab825d7481ee.tar
nixpkgs-8557a6e0c671fe7ad53278ce6bd1ab825d7481ee.tar.gz
nixpkgs-8557a6e0c671fe7ad53278ce6bd1ab825d7481ee.tar.bz2
nixpkgs-8557a6e0c671fe7ad53278ce6bd1ab825d7481ee.tar.lz
nixpkgs-8557a6e0c671fe7ad53278ce6bd1ab825d7481ee.tar.xz
nixpkgs-8557a6e0c671fe7ad53278ce6bd1ab825d7481ee.tar.zst
nixpkgs-8557a6e0c671fe7ad53278ce6bd1ab825d7481ee.zip
python3Packages.python-openzwave-mqtt: init at 1.4.0
Diffstat (limited to 'pkgs/development/python-modules/python-openzwave-mqtt')
-rw-r--r--pkgs/development/python-modules/python-openzwave-mqtt/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-openzwave-mqtt/default.nix b/pkgs/development/python-modules/python-openzwave-mqtt/default.nix
new file mode 100644
index 00000000000..a2c76c7d6d5
--- /dev/null
+++ b/pkgs/development/python-modules/python-openzwave-mqtt/default.nix
@@ -0,0 +1,33 @@
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+, asyncio-mqtt
+, pytestCheckHook
+}:
+
+buildPythonPackage rec {
+  pname = "python-openzwave-mqtt";
+  version = "1.4.0";
+
+  src = fetchFromGitHub {
+    owner = "cgarwood";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "0zqx00dacs59y4gjr4swrn46c7hrp8a1167bcl270333284m8mqm";
+  };
+
+  propagatedBuildInputs = [
+    asyncio-mqtt
+  ];
+
+  checkInputs = [
+    pytestCheckHook
+  ];
+
+  meta = with lib; {
+    description = "Python wrapper for OpenZWave's MQTT daemon";
+    homepage = "https://github.com/cgarwood/python-openzwave-mqtt";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ hexa ];
+  };
+}