From b15720182e393bc26e9d61ea4d7534b7eea19390 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Wed, 3 Mar 2021 21:57:21 -0600 Subject: [PATCH] gnu: Add python-sphobjinv. * gnu/packages/sphinx.scm (python-sphobjinv): New variable. --- gnu/packages/sphinx.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index e046885a6b..29872ed942 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2019 Alexandros Theodotou ;;; Copyright © 2019 Brett Gilio ;;; Copyright © 2020 Giacomo Leidi +;;; Copyright © 2021 Eric Bavier ;;; ;;; This file is part of GNU Guix. ;;; @@ -697,3 +698,27 @@ (define-public python-nbsphinx - i.e. notebooks without stored output cells - will be automatically executed during the Sphinx build process.") (license license:expat))) + +(define-public python-sphobjinv + (package + (name "python-sphobjinv") + (version "2.0.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sphobjinv" version)) + (sha256 + (base32 + "126lgm54c94ay3fci512ap4l607gak90pbz0fk98syxvj5izrrzx")) + (patches (search-patches "python-sphobjinv-system-ca.patch")))) + (build-system python-build-system) + (propagated-inputs + `(("python-attrs" ,python-attrs) + ;("python-certifi" ,python-certifi) + ("python-fuzzywuzzy" ,python-fuzzywuzzy) + ("python-jsonschema" ,python-jsonschema) + ("python-levenshtein" ,python-levenshtein))) + (home-page "https://github.com/bskinn/sphobjinv") + (synopsis "Sphinx cross-reference tool") + (description "Sphinx objects.inv inspection/manipulation tool.") + (license license:expat)))