mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 06:06:32 +01:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
36 lines
734 B
Nix
36 lines
734 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 = {
|
|
description = "PubNub subscription between PubNub and Home Assistant";
|
|
homepage = "https://github.com/w1ll1am23/pubnubsub-handler";
|
|
license = with lib.licenses; [ mit ];
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|