guix-commits
[Top][All Lists]
Advanced

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

28/46: gnu: Add python-pysolr.


From: guix-commits
Subject: 28/46: gnu: Add python-pysolr.
Date: Tue, 21 Jul 2020 08:49:43 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 88b2c1aae21a28957ef9b53f3e9aa82355a9027e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 21 12:08:15 2020 +0300

    gnu: Add python-pysolr.
    
    * gnu/packages/python-web.scm (python-pysolr): New variable.
---
 gnu/packages/python-web.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5a2fa1e..6fd430a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4368,3 +4368,28 @@ for Python.  It is mainly used by the ZODB.")
 Agent is a web crawler.  It uses the list of registered robots from
 @url{http://www.robotstxt.org}.";)
     (license license:gpl3+)))
+
+(define-public python-pysolr
+  (package
+    (name "python-pysolr")
+    (version "3.9.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "pysolr" version))
+        (sha256
+         (base32
+          "1rj5jmscvxjwcmlfi6hmkj44l4x6n3ln5p7d8d18j566hzmmzw3f"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:tests? #f)) ; Tests require network access.
+    (propagated-inputs
+     `(("python-requests" ,python-requests)))
+    (native-inputs
+     `(("python-setuptools-scm" ,python-setuptools-scm)))
+    (home-page "https://github.com/django-haystack/pysolr/";)
+    (synopsis "Lightweight python wrapper for Apache Solr")
+    (description
+     "This module provides an interface that queries the Apache Solr server
+using a pure Python implementation.")
+    (license license:bsd-3)))



reply via email to

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