about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/python-openzwave-mqtt/default.nix
blob: 1138f3820a11ba72ac94cd6124758ff9b37b6a94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ lib
, buildPythonPackage
, fetchFromGitHub
, asyncio-mqtt
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "python-openzwave-mqtt";
  version = "1.4.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "cgarwood";
    repo = pname;
    rev = "v${version}";
    sha256 = "0zqx00dacs59y4gjr4swrn46c7hrp8a1167bcl270333284m8mqm";
  };

  propagatedBuildInputs = [
    asyncio-mqtt
  ];

  nativeCheckInputs = [
    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 ];
  };
}