~ruther/guix-local

94bbd3b9bc144ac666a5c5b427d78b0dc428d2e1 — Nicolas Graves 2 months ago 5e24377
gnu: python-flask-principal: Switch to pyproject.

* gnu/packages/python-web.scm (python-flask-principal):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.  Replace python-nose by
python-pynose.
[home-page]: Refresh it.
[description]: Improve style.

Change-Id: Ifb153aed9a690567d254b3a29ef26e70b017137d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 16 insertions(+), 15 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +16 -15
@@ 8219,22 8219,23 @@ textual content for output generation on the web.")
    (name "python-flask-principal")
    (version "0.4.0")
    (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "Flask-Principal" version))
        (sha256
          (base32
           "0lwlr5smz8vfm5h9a9i7da3q1c24xqc6vm9jdywdpgxfbi5i7mpm"))))
    (build-system python-build-system)
    (propagated-inputs
     (list python-blinker))
    (native-inputs
     (list python-flask python-nose))
    (home-page "https://pythonhosted.org/Flask-Principal/")
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/pallets-eco/flask-principal")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0hcqcj768inmyfsw1y2vk6pa9p22dh138ll809rhpz9vjz6spnqk"))))
    (build-system pyproject-build-system)
    (propagated-inputs (list python-blinker))
    (native-inputs (list python-flask python-pynose python-setuptools))
    (home-page "https://github.com/pallets-eco/flask-principal")
    (synopsis "Identity management for Flask")
    (description "@code{flask_principal} is a identity management library for
Flask.  It supports managing both authentication and authorization data in a
thread-local variable.")
    (description
     "@code{flask_principal} is a identity management library for Flask.  It
supports managing both authentication and authorization data in a thread-local
variable.")
    (license license:expat)))

(define-public python-flask-httpauth