nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 75 lines 1.2 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, six 18, slixmpp 19}: 20 21buildPythonPackage rec { 22 pname = "apprise"; 23 version = "0.9.8.3"; 24 format = "setuptools"; 25 26 disabled = pythonOlder "3.7"; 27 28 src = fetchPypi { 29 inherit pname version; 30 hash = "sha256-24OYAjbnzer0KyTRx7Kty8HVsHdon+l4UazcWMIm428="; 31 }; 32 33 nativeBuildInputs = [ 34 babel 35 installShellFiles 36 ]; 37 38 propagatedBuildInputs = [ 39 click 40 cryptography 41 markdown 42 pyyaml 43 requests 44 requests-oauthlib 45 six 46 ]; 47 48 checkInputs = [ 49 gntp 50 mock 51 paho-mqtt 52 pytestCheckHook 53 slixmpp 54 ]; 55 56 disabledTests = [ 57 "test_apprise_cli_nux_env" 58 "test_plugin_mqtt_general" 59 ]; 60 61 postInstall = '' 62 installManPage packaging/man/apprise.1 63 ''; 64 65 pythonImportsCheck = [ 66 "apprise" 67 ]; 68 69 meta = with lib; { 70 description = "Push Notifications that work with just about every platform"; 71 homepage = "https://github.com/caronc/apprise"; 72 license = licenses.mit; 73 maintainers = with maintainers; [ marsam ]; 74 }; 75}