1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pubnub,
6 pycryptodomex,
7 requests,
8}:
9
10buildPythonPackage rec {
11 pname = "pubnubsub-handler";
12 version = "1.0.9";
13 format = "setuptools";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256:1c44x19zi709sazgl060nkqa7vbaf3iyhwcnwdykhsbipvp6bscy";
18 };
19
20 propagatedBuildInputs = [
21 pubnub
22 pycryptodomex
23 requests
24 ];
25
26 # Project has no tests
27 doCheck = false;
28 pythonImportsCheck = [ "pubnubsubhandler" ];
29
30 meta = with lib; {
31 description = "PubNub subscription between PubNub and Home Assistant";
32 homepage = "https://github.com/w1ll1am23/pubnubsub-handler";
33 license = with licenses; [ mit ];
34 maintainers = with maintainers; [ fab ];
35 };
36}