diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2021-01-17 18:08:59 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2021-01-17 18:08:59 +0100 |
commit | 1279bf812ca11fa50a501aad5116c51afd7390a6 (patch) | |
tree | 46a5de6a33bf5736a3e9b3e886dc7542cec83b61 /pkgs/development/python-modules/pubnubsub-handler/default.nix | |
parent | 9541eb734da2e3cf67ff6c9e8e9a1c46b00d5eb1 (diff) | |
parent | d87e126913a3ba87f26f5b0bada589d4cfa8e850 (diff) | |
download | nixpkgs-1279bf812ca11fa50a501aad5116c51afd7390a6.tar nixpkgs-1279bf812ca11fa50a501aad5116c51afd7390a6.tar.gz nixpkgs-1279bf812ca11fa50a501aad5116c51afd7390a6.tar.bz2 nixpkgs-1279bf812ca11fa50a501aad5116c51afd7390a6.tar.lz nixpkgs-1279bf812ca11fa50a501aad5116c51afd7390a6.tar.xz nixpkgs-1279bf812ca11fa50a501aad5116c51afd7390a6.tar.zst nixpkgs-1279bf812ca11fa50a501aad5116c51afd7390a6.zip |
Merge remote-tracking branch 'upstream/master' into HEAD
Diffstat (limited to 'pkgs/development/python-modules/pubnubsub-handler/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pubnubsub-handler/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pubnubsub-handler/default.nix b/pkgs/development/python-modules/pubnubsub-handler/default.nix new file mode 100644 index 00000000000..32ad2a8e1b8 --- /dev/null +++ b/pkgs/development/python-modules/pubnubsub-handler/default.nix @@ -0,0 +1,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 ]; + }; +} |