depot/third_party/nixpkgs/pkgs/development/python-modules/pubnubsub-handler/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

36 lines
736 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pubnub,
pycryptodomex,
requests,
}:
buildPythonPackage rec {
pname = "pubnubsub-handler";
version = "1.0.9";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "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 ];
};
}