Merge pull request #171740 from dotlambda/notify-events-init

home-assistant: support notify_events component
This commit is contained in:
Martin Weinelt 2022-05-06 02:06:40 +02:00 committed by GitHub
commit 2c501af791
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 1 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "notify-events";
version = "1.1.3";
format = "setuptools";
src = fetchPypi {
pname = "notify_events";
inherit version;
sha256 = "e63ba935c3300ff7f48cba115f7cb4474906e83c2e9b60b95a0881eb949701e7";
};
propagatedBuildInputs = [
requests
];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "notify_events" ];
meta = {
description = "Python client for Notify.Events";
homepage = "https://github.com/notify-events/python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -1791,7 +1791,8 @@
"notify" = ps: with ps; [
];
"notify_events" = ps: with ps; [
]; # missing inputs: notify-events
notify-events
];
"notion" = ps: with ps; [
aionotion
];
@ -3506,6 +3507,7 @@
"nina"
"no_ip"
"notify"
"notify_events"
"notion"
"nsw_rural_fire_service_feed"
"nuki"

View File

@ -5740,6 +5740,8 @@ in {
notifications-python-client = callPackage ../development/python-modules/notifications-python-client { };
notify-events = callPackage ../development/python-modules/notify-events { };
notify-py = callPackage ../development/python-modules/notify-py { };
notify2 = callPackage ../development/python-modules/notify2 { };