gnu: Add python-sphinx-panels.

* gnu/packages/sphinx.scm (python-sphinx-panels): New variable.
This commit is contained in:
Efraim Flashner 2021-12-22 18:25:33 +02:00
parent 8efa775653
commit 4614387807
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -300,6 +300,38 @@ (define-public python-sphinxcontrib-newsfeed
(home-page "https://bitbucket.org/prometheus/sphinxcontrib-newsfeed")
(license license:bsd-2)))
(define-public python-sphinx-panels
(package
(name "python-sphinx-panels")
(version "0.6.0")
(source
(origin
;; Tests not included in the pypi release.
(method git-fetch)
(uri (git-reference
(url "https://github.com/executablebooks/sphinx-panels")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1ivqz6yv96a2jp59kylg1gbkrmzq6zwilppz3ij0zrkjn25zb97k"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest")))))))
(propagated-inputs (list python-docutils python-sphinx))
(native-inputs
(list python-pytest
python-pytest-regressions))
(home-page "https://github.com/executablebooks/sphinx-panels")
(synopsis "Sphinx extension for creating panels in a grid layout")
(description
"This package provides a sphinx extension for creating panels in a grid layout.")
(license license:expat)))
(define-public python-sphinxcontrib-programoutput
(package
(name "python-sphinxcontrib-programoutput")