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>
This commit is contained in:
Edouard Klein 2020-05-13 09:52:45 +02:00 committed by Marius Bakke
parent ab9de8cfb0
commit 1e3cf9de84
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -4004,3 +4004,23 @@ (define-public python-pyramid
"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)))