2021-01-08 04:20:00 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, installShellFiles
|
2019-09-28 06:09:01 +01:00
|
|
|
, Babel, requests, requests_oauthlib, six, click, markdown, pyyaml
|
2021-01-08 04:20:00 +00:00
|
|
|
, pytestrunner, coverage, flake8, mock, pytestCheckHook, pytestcov, tox, gntp, sleekxmpp
|
2019-05-31 07:00:00 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "apprise";
|
2021-01-08 04:20:00 +00:00
|
|
|
version = "0.9.0";
|
2019-05-31 07:00:00 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-08 04:20:00 +00:00
|
|
|
sha256 = "bab3563bc1e0c64938c4c7700112797bd99f20eb5d4a3e6038338bc8f060e153";
|
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 = [
|
2019-09-28 06:09:01 +01:00
|
|
|
requests requests_oauthlib six click markdown pyyaml
|
2019-05-31 07:00:00 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-01-08 04:20:00 +00:00
|
|
|
pytestrunner coverage flake8 mock pytestCheckHook pytestcov 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
|
|
|
|
'';
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|