gnu: Add emacs-jsdoc.

* gnu/packages/emacs-xyz.scm (emacs-jsdoc): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Demis Balbach 2023-02-21 16:02:55 +01:00 committed by Nicolas Goaziou
parent adc0e3b485
commit 8596f4d3b4
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -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,32 @@ (define-public emacs-js2-refactor-el
JavaScript.")
(license license:gpl3+))))
(define-public emacs-jsdoc
(let ((commit "10ccff7a5cec6fd2f4484c1d55347634e5b46432")) ;version bump
(package
(name "emacs-jsdoc")
(version "0.3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/isamert/jsdoc.el")
(commit commit)))
(sha256
(base32 "0cbchri4117wjcnlk3npi4x1sfx248vck1q61cis8drrrz4c8jyp"))
(file-name (git-file-name name version))))
(build-system emacs-build-system)
(arguments (list #:emacs emacs-next))
(propagated-inputs
(list emacs-dash
emacs-s
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")