1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, asyncio-mqtt
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "python-openzwave-mqtt";
10 version = "1.4.0";
11
12 src = fetchFromGitHub {
13 owner = "cgarwood";
14 repo = pname;
15 rev = "v${version}";
16 sha256 = "0zqx00dacs59y4gjr4swrn46c7hrp8a1167bcl270333284m8mqm";
17 };
18
19 propagatedBuildInputs = [
20 asyncio-mqtt
21 ];
22
23 checkInputs = [
24 pytestCheckHook
25 ];
26
27 meta = with lib; {
28 description = "Python wrapper for OpenZWave's MQTT daemon";
29 homepage = "https://github.com/cgarwood/python-openzwave-mqtt";
30 license = licenses.asl20;
31 maintainers = with maintainers; [ hexa ];
32 };
33}