* [bug#61683] [PATCH] gnu: Add emacs-jsdoc.
@ 2023-02-21 15:02 Demis Balbach
2023-02-23 14:29 ` bug#61683: " Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Demis Balbach @ 2023-02-21 15:02 UTC (permalink / raw)
To: 61683; +Cc: Demis Balbach
---
gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3b12642bc9..68bbc60d08 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -122,6 +122,7 @@
;;; Copyright © 2023 Simon Streit <simon@netpanic.org>
;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2023 Ivan Vilata-i-Balaguer <ivan@selidor.net>
+;;; Copyright © 2022 Demis Balbach <db@minikn.xyz>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -190,6 +191,7 @@ (define-module (gnu packages emacs-xyz)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages tcl)
#:use-module (gnu packages tls)
+ #:use-module (gnu packages tree-sitter)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages xorg)
#:use-module (gnu packages lesstif)
@@ -28685,6 +28687,35 @@ (define-public emacs-js2-refactor-el
JavaScript.")
(license license:gpl3+))))
+(define-public emacs-jsdoc
+ (let ((commit "2f828fe154e0bcb2c22d0a0323dd7f751406f85e")
+ (revision "0")
+ (version "0.2"))
+ (package
+ (name "emacs-jsdoc")
+ (version (git-version version revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/isamert/jsdoc.el")
+ (commit commit)))
+ (sha256
+ (base32 "1iw8x6ff9gjl3zkj48y20f6c68kgnzm682637hzq6n6g4inadkq3"))
+ (file-name (git-file-name name version))))
+ (build-system emacs-build-system)
+ (arguments
+ `(#:emacs ,emacs-next))
+ (propagated-inputs
+ (list emacs-s
+ emacs-dash
+ tree-sitter-javascript))
+ (home-page "https://github.com/isamert/jsdoc.el")
+ (synopsis "Inserts JSDoc function comments/typedefs easily.")
+ (description "This package provides an easy way to insert JSDoc function
+comments and typedefs using Emacs' builtin tree-sitter.")
+ (license license:gpl3+))))
+
(define-public emacs-prettier
(let ((commit "e9b73e81d3e1642aec682195f127a42dfb0b5774")
(version "0.1.0")
--
2.39.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#61683: [PATCH] gnu: Add emacs-jsdoc.
2023-02-21 15:02 [bug#61683] [PATCH] gnu: Add emacs-jsdoc Demis Balbach
@ 2023-02-23 14:29 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2023-02-23 14:29 UTC (permalink / raw)
To: Demis Balbach; +Cc: 61683-done
Hello,
Demis Balbach <db@minikn.xyz> writes:
> +(define-public emacs-jsdoc
> + (let ((commit "2f828fe154e0bcb2c22d0a0323dd7f751406f85e")
> + (revision "0")
> + (version "0.2"))
I updated it to 0.3, added a proper commit message an applied your
patch. Thank you.
> + (propagated-inputs
> + (list emacs-s
> + emacs-dash
> + tree-sitter-javascript))
I ordered inputs alphaetically, too.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-23 14:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-21 15:02 [bug#61683] [PATCH] gnu: Add emacs-jsdoc Demis Balbach
2023-02-23 14:29 ` bug#61683: " Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).