at 22.05-pre 1.1 kB view raw
1{ lib, buildPythonPackage, fetchPypi, installShellFiles 2, Babel, requests, requests_oauthlib, six, click, markdown, pyyaml, cryptography 3, pytest-runner, coverage, flake8, mock, pytestCheckHook, pytest-cov, tox, gntp, sleekxmpp 4}: 5 6buildPythonPackage rec { 7 pname = "apprise"; 8 version = "0.9.5.1"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "sha256-vwkHA66xK4LGhdazZ0o93+cSpGwgiTCMm8IC8D4G1Y0="; 13 }; 14 15 nativeBuildInputs = [ Babel installShellFiles ]; 16 17 propagatedBuildInputs = [ 18 cryptography requests requests_oauthlib six click markdown pyyaml 19 ]; 20 21 checkInputs = [ 22 pytest-runner coverage flake8 mock pytestCheckHook pytest-cov tox gntp sleekxmpp 23 ]; 24 25 disabledTests = [ "test_apprise_cli_nux_env" ]; 26 27 postInstall = '' 28 installManPage packaging/man/apprise.1 29 ''; 30 31 pythonImportsCheck = [ "apprise" ]; 32 33 meta = with lib; { 34 homepage = "https://github.com/caronc/apprise"; 35 description = "Push Notifications that work with just about every platform!"; 36 license = licenses.mit; 37 maintainers = [ maintainers.marsam ]; 38 }; 39}