[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/09: gnu: Add python-sphinx-prompt.
From: |
guix-commits |
Subject: |
07/09: gnu: Add python-sphinx-prompt. |
Date: |
Fri, 10 Dec 2021 09:33:41 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit dc5ace95d3cab2a81ecf16338342a069f8ce7705
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Mon Nov 15 04:35:40 2021 +0000
gnu: Add python-sphinx-prompt.
* gnu/packages/sphinx.scm (python-sphinx-prompt): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/sphinx.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index a7a3443..86b8678 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -502,6 +502,37 @@ introspection of @code{zope.interface} instances in code.")
(define-public python2-sphinx-repoze-autointerface
(package-with-python2 python-sphinx-repoze-autointerface))
+(define-public python-sphinx-prompt
+ (package
+ (name "python-sphinx-prompt")
+ (version "1.5.0")
+ (source
+ (origin
+ (method git-fetch) ; no source release in PyPI
+ (uri (git-reference
+ (url "https://github.com/sbrunner/sphinx-prompt")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0x9wmgf04rzivbzp7jv1b7fkhkpi02lpk5w1qf4i7bcgih00ym8a"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest")))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-sphinx" ,python-sphinx)))
+ (home-page "https://github.com/sbrunner/sphinx-prompt")
+ (synopsis "Sphinx directive to add unselectable prompt")
+ (description
+ "This package provides a Sphinx directive to add unselectable prompt.")
+ (license license:bsd-3)))
+
(define-public python-sphinx-alabaster-theme
(package
(name "python-sphinx-alabaster-theme")
- branch master updated (18c406d -> 6cb805d), guix-commits, 2021/12/10
- 09/09: gnu: Add eg25-manager., guix-commits, 2021/12/10
- 02/09: shell: When using '-D -f', '-D' has no effect on remaining packages., guix-commits, 2021/12/10
- 03/09: environment: Suggestion code gracefully handles empty "/bin" directories., guix-commits, 2021/12/10
- 04/09: gnu: Add smlnj., guix-commits, 2021/12/10
- 01/09: shell: Fix '--file' description in '--help' output., guix-commits, 2021/12/10
- 08/09: gnu: Add python-sphinxext-opengraph., guix-commits, 2021/12/10
- 06/09: gnu: sendgmail: Don't limit domain name of sender., guix-commits, 2021/12/10
- 07/09: gnu: Add python-sphinx-prompt.,
guix-commits <=
- 05/09: gnu: sendgmail: Rename package to match command., guix-commits, 2021/12/10