aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorswedebugia <swedebugia@riseup.net>2018-11-20 00:07:19 +0100
committerLudovic Courtès <ludo@gnu.org>2018-11-21 11:55:57 +0100
commitab5d91dd50e6b8711f21051427aaf343d326ab3b (patch)
tree7595a05276906f201db064a22d59b0706adf658f
parent1e5b79e5d0e6629dce838dbb10febad676eea773 (diff)
downloadgnu-guix-ab5d91dd50e6b8711f21051427aaf343d326ab3b.tar
gnu-guix-ab5d91dd50e6b8711f21051427aaf343d326ab3b.tar.gz
gnu: Add python-wikidata.
* gnu/packages/python.scm (python-wikidata): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/python.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4ae97078e6..d87b1315e6 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14617,3 +14617,25 @@ on regular expressions.")
"This module implements the PRECIS Framework as described in RFC 8264,
RFC 8265 and RFC 8266.")
(license license:expat)))
+
+(define-public python-wikidata
+ (package
+ (name "python-wikidata")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Wikidata" version))
+ (sha256
+ (base32
+ "08nlnydddfp1jj0cdmshvld1irzngbp3dij928wqsg9ziklm6mw9"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-babel" ,python-babel)))
+ (home-page "https://github.com/dahlia/wikidata")
+ (synopsis "Wikidata client library")
+ (description
+ "This package provides a Python interface to
+@url{https://www.wikidata.org/, Wikidata}.")
+ (properties '((upstream-name . "Wikidata")))
+ (license license:gpl3+)))