about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pubnubsub-handler/default.nix
blob: 32ad2a8e1b8d274865ced1b81fe3764811189ada (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
, fetchPypi
, pubnub
, pycryptodomex
, requests
}:

buildPythonPackage rec {
  pname = "pubnubsub-handler";
  version = "1.0.9";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256:1c44x19zi709sazgl060nkqa7vbaf3iyhwcnwdykhsbipvp6bscy";
  };

  propagatedBuildInputs = [
    pubnub
    pycryptodomex
    requests
  ];

  # Project has no tests
  doCheck = false;
  pythonImportsCheck = [ "pubnubsubhandler" ];

  meta = with lib; {
    description = "PubNub subscription between PubNub and Home Assistant";
    homepage = "https://github.com/w1ll1am23/pubnubsub-handler";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}