GNU bug report logs - #61683
[PATCH] gnu: Add emacs-jsdoc.

Previous Next

Package: guix-patches;

Reported by: Demis Balbach <db <at> minikn.xyz>

Date: Tue, 21 Feb 2023 15:04:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61683 in the body.
You can then email your comments to 61683 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#61683; Package guix-patches. (Tue, 21 Feb 2023 15:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Demis Balbach <db <at> minikn.xyz>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 21 Feb 2023 15:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Demis Balbach <db <at> minikn.xyz>
To: guix-patches <at> gnu.org
Cc: Demis Balbach <db <at> minikn.xyz>
Subject: [PATCH] gnu: Add emacs-jsdoc.
Date: Tue, 21 Feb 2023 16:02:55 +0100
---
 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 <at> netpanic.org>
 ;;; Copyright © 2023 John Kehayias <john.kehayias <at> protonmail.com>
 ;;; Copyright © 2023 Ivan Vilata-i-Balaguer <ivan <at> selidor.net>
+;;; Copyright © 2022 Demis Balbach <db <at> 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





Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Thu, 23 Feb 2023 14:30:02 GMT) Full text and rfc822 format available.

Notification sent to Demis Balbach <db <at> minikn.xyz>:
bug acknowledged by developer. (Thu, 23 Feb 2023 14:30:03 GMT) Full text and rfc822 format available.

Message #10 received at 61683-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Demis Balbach <db <at> minikn.xyz>
Cc: 61683-done <at> debbugs.gnu.org
Subject: Re: [bug#61683] [PATCH] gnu: Add emacs-jsdoc.
Date: Thu, 23 Feb 2023 15:29:40 +0100
Hello,

Demis Balbach <db <at> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 24 Mar 2023 11:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 27 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.