aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRostislav Svoboda <rostislav.svoboda@gmail.com>2023-03-30 17:59:36 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-03-30 18:16:30 +0200
commit918ad5894575be016047a859b7f9bc0085736e41 (patch)
treeaa457793bfbaa525b8d2ff50e23318cb188cce0f
parenta6f98c64f65a2887a54236421d72eaa3aae95444 (diff)
downloadguix-918ad5894575be016047a859b7f9bc0085736e41.tar.gz
guix-918ad5894575be016047a859b7f9bc0085736e41.zip
gnu: Add emacs-sphinx-doc.
* gnu/packages/emacs-xyz.scm (emacs-sphinx-doc): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/emacs-xyz.scm30
1 files changed, 28 insertions, 2 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7139be5a1e..3649e08571 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12496,6 +12496,32 @@ for SPARQL. It can also execute queries against a SPARQL HTTP endpoint, such
as Fuseki or DBPedia.")
(license license:gpl3+)))
+(define-public emacs-sphinx-doc
+ (let ((commit "1eda612a44ef027e5229895daa77db99a21b8801")
+ (revision "1"))
+ (package
+ (name "emacs-sphinx-doc")
+ (version (git-version "0.3.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/naiquevin/sphinx-doc.el")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0q72i95yx3xa57jlgr7dik6prf20hi8bp8xf3f5c6ificv7i5378"))))
+ (build-system emacs-build-system)
+ (propagated-inputs (list emacs-dash emacs-s))
+ (home-page "https://github.com/naiquevin/sphinx-doc.el")
+ (synopsis
+ "Generate Sphinx friendly docstrings for Python functions in Emacs")
+ (description
+ "Sphinx Doc is an Emacs minor mode for inserting docstring skeletons
+for Python functions and methods. The structure of the docstring is as per
+the equirement of the Sphinx documentation generator.")
+ (license license:expat))))
+
(define-public emacs-better-defaults
(package
(name "emacs-better-defaults")
@@ -12504,8 +12530,8 @@ as Fuseki or DBPedia.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://git.sr.ht/~technomancy/better-defaults")
- (commit version)))
+ (url "https://git.sr.ht/~technomancy/better-defaults")
+ (commit version)))
(file-name (git-file-name name version))
(sha256
(base32