~ruther/guix-local

4c3b50add244abea1b35d95e49de2bc66aee893a — Sharlatan Hellseher 4 months ago 0f2da75
gnu: Add python-pyramid-mako.

* gnu/packages/python-web.scm (python-pyramid-mako): New variable.

Change-Id: I990dd1754cc9fd6d0d5a6e2b479b1fdc6d8f0c30
1 files changed, 39 insertions(+), 0 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +39 -0
@@ 10222,6 10222,45 @@ request/response web apps to larger, grown applications.")
 for the Pyramid web framework.")
      (license license:repoze))))

(define-public python-pyramid-mako
  ;; 1.1.0 was released in 2019, there a lot of compatability changes on
  ;; master, us the latest commit for now.
  (let ((commit "1a6f4c00c7134530d2975f34d904b64a41b28b21")
        (revision "0"))
    (package
      (name "python-pyramid-mako")
      (version (git-version "1.1.0" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
                (url "https://github.com/Pylons/pyramid_mako")
                (commit commit)))
         (file-name (git-file-name name version))
         (sha256
          (base32 "0v0571z2gby4apsalkdk83gs0d5mw79d56518h3bwwxzbq32kkns"))))
      (build-system pyproject-build-system)
      (arguments
       (list
        #:phases
        #~(modify-phases %standard-phases
            (add-after 'unpack 'fix-pytest-config
              (lambda _
                (substitute* "pyproject.toml"
                  ((" --cov --cov-report=term-missing") "")))))))
      (native-inputs
       (list python-pytest
             python-setuptools))
      (propagated-inputs
       (list python-mako
             python-pyramid))
      (home-page "https://github.com/Pylons/pyramid_mako")
      (synopsis "Mako template bindings for the Pyramid web framework")
      (description
       "This package provides Mako template bindings for the Pyramid web
framework.")
      (license license:repoze))))

(define-public python-random-user-agent
  (package
    (name "python-random-user-agent")