Subject: bug#61683: closed (Re: [bug#61683] [PATCH] gnu: Add emacs-jsdoc.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 23 Feb 2023 14:30:03 +0000

Your bug report

#61683: [PATCH] gnu: Add emacs-jsdoc.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
61683: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61683
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#61683] [PATCH] gnu: Add emacs-jsdoc.
From: Nicolas Goaziou <[email-masked]>
To: Demis Balbach <[email-masked]>
Cc: [email-masked]
Date: Thu, 23 Feb 2023 15:29:40 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Demis Balbach <[email-masked]> 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

Subject: [PATCH] gnu: Add emacs-jsdoc.
From: Demis Balbach <[email-masked]>
To: [email-masked]
Cc: Demis Balbach <[email-masked]>
Date: Tue, 21 Feb 2023 16:02:55 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

---
 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 <[email-masked]>
 ;;; Copyright © 2023 John Kehayias <[email-masked]>
 ;;; Copyright © 2023 Ivan Vilata-i-Balaguer <[email-masked]>
+;;; Copyright © 2022 Demis Balbach <[email-masked]>
 ;;;
 ;;; 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