2021-01-08 04:20:00 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, installShellFiles
|
2021-02-25 01:52:52 +00:00
|
|
|
, Babel, requests, requests_oauthlib, six, click, markdown, pyyaml, cryptography
|
2021-07-20 22:07:53 +01:00
|
|
|
, pytest-runner, coverage, flake8, mock, pytestCheckHook, pytest-cov, tox, gntp, sleekxmpp
|
2019-05-31 07:00:00 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "apprise";
|
2021-08-15 17:54:26 +01:00
|
|
|
version = "0.9.4";
|
2019-05-31 07:00:00 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-15 17:54:26 +01:00
|
|
|
sha256 = "sha256-Q7iZD9GG8vPxITpn87l3yGtU+L8jwvs2Qi329LHlKrI=";
|
2019-05-31 07:00:00 +01:00
|
|
|
};
|
|
|
|
|
2021-01-08 04:20:00 +00:00
|
|
|
nativeBuildInputs = [ Babel installShellFiles ];
|
2019-05-31 07:00:00 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-02-25 01:52:52 +00:00
|
|
|
cryptography requests requests_oauthlib six click markdown pyyaml
|
2019-05-31 07:00:00 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-07-20 22:07:53 +01:00
|
|
|
pytest-runner coverage flake8 mock pytestCheckHook pytest-cov tox gntp sleekxmpp
|
2019-05-31 07:00:00 +01:00
|
|
|
];
|
|
|
|
|
2021-01-08 04:20:00 +00:00
|
|
|
disabledTests = [ "test_apprise_cli_nux_env" ];
|
|
|
|
|
2021-01-08 04:20:00 +00:00
|
|
|
postInstall = ''
|
|
|
|
installManPage packaging/man/apprise.1
|
|
|
|
'';
|
|
|
|
|
2021-02-25 01:52:52 +00:00
|
|
|
pythonImportsCheck = [ "apprise" ];
|
|
|
|
|
2019-05-31 07:00:00 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|