at 23.05-pre 1.3 kB view raw
1{ lib 2, babel 3, buildPythonPackage 4, click 5, cryptography 6, fetchPypi 7, gntp 8, installShellFiles 9, markdown 10, mock 11, paho-mqtt 12, pytestCheckHook 13, pythonOlder 14, pyyaml 15, requests 16, requests-oauthlib 17, slixmpp 18}: 19 20buildPythonPackage rec { 21 pname = "apprise"; 22 version = "1.1.0"; 23 format = "setuptools"; 24 25 disabled = pythonOlder "3.7"; 26 27 src = fetchPypi { 28 inherit pname version; 29 hash = "sha256-92eoBwp3fcKb9zCBeeC2ndLeZeZpM+2JsZmef/5yO2A="; 30 }; 31 32 nativeBuildInputs = [ 33 babel 34 installShellFiles 35 ]; 36 37 propagatedBuildInputs = [ 38 click 39 cryptography 40 markdown 41 pyyaml 42 requests 43 requests-oauthlib 44 ]; 45 46 checkInputs = [ 47 gntp 48 mock 49 paho-mqtt 50 pytestCheckHook 51 slixmpp 52 ]; 53 54 disabledTests = [ 55 "test_apprise_cli_nux_env" 56 "test_plugin_mqtt_general" 57 ]; 58 59 disabledTestPaths = [ 60 # AttributeError: module 'apprise.plugins' has no attribute 'NotifyBulkSMS' 61 "test/test_plugin_bulksms.py" 62 ]; 63 64 postInstall = '' 65 installManPage packaging/man/apprise.1 66 ''; 67 68 pythonImportsCheck = [ 69 "apprise" 70 ]; 71 72 meta = with lib; { 73 description = "Push Notifications that work with just about every platform"; 74 homepage = "https://github.com/caronc/apprise"; 75 license = licenses.mit; 76 maintainers = with maintainers; [ marsam ]; 77 }; 78}