~ruther/guix-local

1e3cf9de840c6968f73b6b6c515dd870563b05cb — Edouard Klein 6 years ago ab9de8c
gnu: Add python-random-user-agent.

* gnu/packages/python-web.scm (python-random-user-agent): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
1 files changed, 20 insertions(+), 0 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +20 -0
@@ 4004,3 4004,23 @@ changed the process is restarted.")
     "Pyramid makes it easy to write web applications.  From minimal
request/response web apps to larger, grown applications.")
    (license license:repoze)))

(define-public python-random-user-agent
  (package
    (name "python-random-user-agent")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "random_user_agent" version))
       (sha256
        (base32
         "04nhzdh2ki7ybhjrmghxci6hcm6i03vvin2q2ynj87fbr1pa534g"))))
    (build-system python-build-system)
    (home-page "https://github.com/Luqman-Ud-Din/random_user_agent")
    (synopsis "List of user agents")
    (description
     "This package provides a list of user agents, from a collection of more
than 326,000 known user-agents.  Users can pick a random one, or select one
based on filters.")
    (license license:expat)))