Merge pull request #171740 from dotlambda/notify-events-init
home-assistant: support notify_events component
This commit is contained in:
commit
2c501af791
34
pkgs/development/python-modules/notify-events/default.nix
Normal file
34
pkgs/development/python-modules/notify-events/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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"
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user