3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/apprise/default.nix

40 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, installShellFiles
2021-02-25 01:52:52 +00:00
, Babel, requests, requests_oauthlib, six, click, markdown, pyyaml, cryptography
, pytest-runner, coverage, flake8, mock, pytestCheckHook, pytest-cov, tox, gntp, sleekxmpp
2019-05-31 07:00:00 +01:00
}:
buildPythonPackage rec {
pname = "apprise";
version = "0.9.4";
2019-05-31 07:00:00 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Q7iZD9GG8vPxITpn87l3yGtU+L8jwvs2Qi329LHlKrI=";
2019-05-31 07:00:00 +01: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 = [
pytest-runner coverage flake8 mock pytestCheckHook pytest-cov tox gntp sleekxmpp
2019-05-31 07:00:00 +01:00
];
disabledTests = [ "test_apprise_cli_nux_env" ];
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 ];
};
}