mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-16 16:08:04 -05:00
gnu: Add python-pysolr.
* gnu/packages/python-web.scm (python-pysolr): New variable.
This commit is contained in:
parent
97a0117039
commit
88b2c1aae2
1 changed files with 25 additions and 0 deletions
|
@ -4368,3 +4368,28 @@ (define-public python-robot-detection
|
||||||
Agent is a web crawler. It uses the list of registered robots from
|
Agent is a web crawler. It uses the list of registered robots from
|
||||||
@url{http://www.robotstxt.org}.")
|
@url{http://www.robotstxt.org}.")
|
||||||
(license license:gpl3+)))
|
(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)))
|
||||||
|
|
Loading…
Reference in a new issue