ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
34 lines
705 B
Nix
34 lines
705 B
Nix
{ 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 ];
|
|
};
|
|
}
|