2021-01-09 10:05:03 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, installShellFiles
|
2021-03-09 03:18:52 +00:00
|
|
|
, Babel, requests, requests_oauthlib, six, click, markdown, pyyaml, cryptography
|
2021-07-24 12:14:16 +00:00
|
|
|
, pytest-runner, coverage, flake8, mock, pytestCheckHook, pytest-cov, tox, gntp, sleekxmpp
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "apprise";
|
2021-08-18 13:19:15 +00:00
|
|
|
version = "0.9.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-18 13:19:15 +00:00
|
|
|
sha256 = "sha256-Q7iZD9GG8vPxITpn87l3yGtU+L8jwvs2Qi329LHlKrI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
nativeBuildInputs = [ Babel installShellFiles ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-03-09 03:18:52 +00:00
|
|
|
cryptography requests requests_oauthlib six click markdown pyyaml
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-07-24 12:14:16 +00:00
|
|
|
pytest-runner coverage flake8 mock pytestCheckHook pytest-cov tox gntp sleekxmpp
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
disabledTests = [ "test_apprise_cli_nux_env" ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
installManPage packaging/man/apprise.1
|
|
|
|
'';
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
pythonImportsCheck = [ "apprise" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/caronc/apprise";
|
|
|
|
description = "Push Notifications that work with just about every platform!";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|