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 06:00:00 +00:00
}:
buildPythonPackage rec {
pname = "apprise";
2021-05-17 02:35:17 +00:00
version = "0.9.3";
2019-05-31 06:00:00 +00:00
src = fetchPypi {
inherit pname version;
2021-05-17 02:35:17 +00:00
sha256 = "sha256-yKzpyJHUIkVYVwrL6oCPMd+QSVML2czWmQHCemXWAMQ=";
2019-05-31 06:00:00 +00:00
};
nativeBuildInputs = [ Babel installShellFiles ];
2019-05-31 06:00:00 +00:00
propagatedBuildInputs = [
2021-02-25 01:52:52 +00:00
cryptography requests requests_oauthlib six click markdown pyyaml
2019-05-31 06:00:00 +00:00
];
checkInputs = [
pytest-runner coverage flake8 mock pytestCheckHook pytest-cov tox gntp sleekxmpp
2019-05-31 06:00:00 +00: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 06:00:00 +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 ];
};
}