~ruther/guix-local

622e08e00ee7175a3e0e783f446f791a0f423f1f — Vinicius Monego 1 year, 2 months ago 4425422
gnu: python-safety: Improve style.

* gnu/packages/python-xyz.scm (python-safety): Run guix style.

Change-Id: I711eee17b0681c65c9044231c16673cd3e48bf4d
1 files changed, 17 insertions(+), 18 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +17 -18
@@ 34367,29 34367,28 @@ facility for filtering those results.")
    (name "python-safety")
    (version "1.9.0")
    (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "safety" version))
        (sha256
          (base32
            "1j801xsxfzavjbzhhc934awvnk1b7jc0qsw3jp3ys0241mlj1gr3"))))
     (origin
       (method url-fetch)
       (uri (pypi-uri "safety" version))
       (sha256
        (base32 "1j801xsxfzavjbzhhc934awvnk1b7jc0qsw3jp3ys0241mlj1gr3"))))
    (build-system python-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'disable-tests
           (lambda _
             (substitute* "tests/test_safety.py"
               ;; requires network
               (("def test_check_live") "def _test_check_live"))
             #t)))))
    (propagated-inputs
      (list python-click python-dparse python-packaging python-requests))
     `(#:phases (modify-phases %standard-phases
                  (add-after 'unpack 'disable-tests
                    (lambda _
                      (substitute* "tests/test_safety.py"
                        ;; requires network
                        (("def test_check_live")
                         "def _test_check_live")) #t)))))
    (propagated-inputs (list python-click python-dparse python-packaging
                             python-requests))
    (home-page "https://github.com/pyupio/safety")
    (synopsis "Check installed dependencies for known vulnerabilities")
    (description "Safety checks installed dependencies for known vulnerabilities.
    (description
     "Safety checks installed dependencies for known vulnerabilities.
By default it uses the open Python vulnerability database Safety DB.")
  (license license:expat)))
    (license license:expat)))

(define-public python-pypandoc
  (package