~ruther/guix-local

6cde0f480dca28426a5634b70dd963d2de7bcf36 — Fabio Natali 1 year, 11 months ago 37d3149
gnu: Add python-apprise.

* gnu/packages/python-xyz.scm (python-apprise): New variable.

Change-Id: I55b8c7b558ce34835cff31b9fac6ff3b81ff5fec
Signed-off-by: jgart <jgart@dismail.de>
1 files changed, 46 insertions(+), 0 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +46 -0
@@ 231,6 231,7 @@
  #:use-module (gnu packages man)
  #:use-module (gnu packages markup)
  #:use-module (gnu packages maths)
  #:use-module (gnu packages messaging)
  #:use-module (gnu packages monitoring)
  #:use-module (gnu packages multiprecision)
  #:use-module (gnu packages ncurses)


@@ 293,6 294,51 @@
  #:use-module (srfi srfi-1)
  #:use-module (srfi srfi-26))

(define-public python-apprise
  (package
    (name "python-apprise")
    (version "1.7.4")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "apprise" version))
       (sha256
        (base32 "0wvs1k71fipn617y9wsdcvwcgg2pd0nvriarlwl4438la4086ppg"))))
    (build-system pyproject-build-system)
    (propagated-inputs (list python-certifi
                             python-click
                             python-dataclasses
                             python-markdown
                             python-pyyaml
                             python-requests
                             python-requests-oauthlib))
    (native-inputs (list python-babel
                         python-coverage
                         python-cryptography
                         python-flake8
                         python-paho-mqtt
                         python-pytest
                         python-pytest-cov
                         python-pytest-mock
                         python-pytest-xdist
                         python-wheel))
    (arguments
     (list
      #:phases #~(modify-phases %standard-phases
                   (replace 'check
                     (lambda* (#:key tests? inputs outputs #:allow-other-keys)
                       (when tests?
                         (delete-file "test/test_plugin_macosx.py")
                         (invoke "pytest")))))))
    (home-page "https://github.com/caronc/apprise")
    (synopsis
     "Push notification Python library that works with many platforms")
    (description
     "Apprise is a Python library that allows sending push notifications to a broad
range of notification services, such as Telegram, Discord, Slack, Amazon SNS,
Gotify, etc.")
    (license license:bsd-2)))

(define-public python-xmldiff
  (package
    (name "python-xmldiff")