guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

18/20: gnu: Add python-random-user-agent.


From: guix-commits
Subject: 18/20: gnu: Add python-random-user-agent.
Date: Wed, 20 May 2020 17:53:35 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 1e3cf9de840c6968f73b6b6c515dd870563b05cb
Author: Edouard Klein <address@hidden>
AuthorDate: Wed May 13 09:52:45 2020 +0200

    gnu: Add python-random-user-agent.
    
    * gnu/packages/python-web.scm (python-random-user-agent): New variable.
    
    Signed-off-by: Marius Bakke <address@hidden>
---
 gnu/packages/python-web.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 05fd159..00caf7f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]