unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#70029] [PATCH] gnu: Add emacs-eglot-jl.
@ 2024-03-27 13:58 Cayetano Santos via Guix-patches via
  2024-03-27 15:59 ` Nicolas Goaziou via Guix-patches via
  2024-03-28  8:55 ` [bug#70029] [PATCH v1] " Cayetano Santos via Guix-patches via
  0 siblings, 2 replies; 4+ messages in thread
From: Cayetano Santos via Guix-patches via @ 2024-03-27 13:58 UTC (permalink / raw)
  To: 70029; +Cc: Cayetano Santos

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

Signed-off-by: Cayetano Santos <csantosb@inventati.org>
---
 gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d4819c62ce..f2af107671 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12313,6 +12313,33 @@ (define-public emacs-eglot-tempel
 library with Eglot instead of Yasnippet.")
       (license license:gpl3+))))
 
+(define-public emacs-eglot-jl
+  (package
+    (name "emacs-eglot-jl")
+    (version "2.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/non-Jedi/eglot-jl.git")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "144q4fj3am165vf1vx2ljlsmpn8vvvs1b95qi3rxlwqskkx0lig3"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eglot))
+    (arguments
+     '(#:include '("^[^/]+.el$"
+                   "^[^/]+.jl$"
+                   "^[^/]+.toml$")))
+    (home-page "https://github.com/non-Jedi/eglot-jl")
+    (synopsis "Julia support for eglot")
+    (description
+     "This package adds support for @code{emacs-eglot} to the Julia language.")
+    (license:cc-by2.0)))
+
 (define-public emacs-consult-xdg-recent-files
   (let ((commit "593023ffb99a368152ebd4e739488fa560bdfdea")
         (revision "0"))

base-commit: 656baadf83f2812c0ff79f4f2f0b5f1e927ed8a5
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#70029] [PATCH] gnu: Add emacs-eglot-jl.
  2024-03-27 13:58 [bug#70029] [PATCH] gnu: Add emacs-eglot-jl Cayetano Santos via Guix-patches via
@ 2024-03-27 15:59 ` Nicolas Goaziou via Guix-patches via
  2024-03-28  8:55 ` [bug#70029] [PATCH v1] " Cayetano Santos via Guix-patches via
  1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou via Guix-patches via @ 2024-03-27 15:59 UTC (permalink / raw)
  To: 70029; +Cc: csantosb

Hello,

Cayetano Santos via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/emacs-xyz.scm (emacs-eglot-jl): New variable.

Thanks.

> +(define-public emacs-eglot-jl
> +  (package
> +    (name "emacs-eglot-jl")
> +    (version "2.3.0")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri
> +        (git-reference
> +         (url "https://github.com/non-Jedi/eglot-jl.git")

Nitpick: I think ".git" suffixes are usually removed.

> +         (commit (string-append "v" version))))
> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32
> +         "144q4fj3am165vf1vx2ljlsmpn8vvvs1b95qi3rxlwqskkx0lig3"))))
> +    (build-system emacs-build-system)
> +    (propagated-inputs (list emacs-eglot))
> +    (arguments
> +     '(#:include '("^[^/]+.el$"
> +                   "^[^/]+.jl$"
> +                   "^[^/]+.toml$")))

This is a bit verbose, and ignores %default-include variable. I suggest
(using G-expressions just because we can)

(arguments (list #:include #~(cons "\\.(jl|toml)$" %default-include)))

> +    (home-page "https://github.com/non-Jedi/eglot-jl")
> +    (synopsis "Julia support for eglot")

Nitpick: Julia support for Eglot

> +    (description
> +     "This package adds support for @code{emacs-eglot} to the Julia language.")

Nitpick: ... support for Eglot to the Julia language.

> +    (license:cc-by2.0)))

I think there is a typo here. You mean

  (license license:cc-by2.0)

However, it seems to licensed under CC0 terms.

Could you send an updated patch?

Regards,
-- 
Nicolas Goaziou






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#70029] [PATCH v1] gnu: Add emacs-eglot-jl.
  2024-03-27 13:58 [bug#70029] [PATCH] gnu: Add emacs-eglot-jl Cayetano Santos via Guix-patches via
  2024-03-27 15:59 ` Nicolas Goaziou via Guix-patches via
@ 2024-03-28  8:55 ` Cayetano Santos via Guix-patches via
  2024-03-29 12:29   ` Nicolas Goaziou via Guix-patches via
  1 sibling, 1 reply; 4+ messages in thread
From: Cayetano Santos via Guix-patches via @ 2024-03-28  8:55 UTC (permalink / raw)
  To: 70029; +Cc: Cayetano Santos

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

Signed-off-by: Cayetano Santos <csantosb@inventati.org>
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d4819c62ce..683ea08ed4 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12313,6 +12313,30 @@ (define-public emacs-eglot-tempel
 library with Eglot instead of Yasnippet.")
       (license license:gpl3+))))
 
+(define-public emacs-eglot-jl
+  (package
+    (name "emacs-eglot-jl")
+    (version "2.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/non-Jedi/eglot-jl")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "144q4fj3am165vf1vx2ljlsmpn8vvvs1b95qi3rxlwqskkx0lig3"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eglot))
+    (arguments (list #:include #~(cons "\\.(jl|toml)$" %default-include)))
+    (home-page "https://github.com/non-Jedi/eglot-jl")
+    (synopsis "Julia support for Eglot")
+    (description
+     "This package adds support for Eglot to the Julia language.")
+    (license license:cc0)))
+
 (define-public emacs-consult-xdg-recent-files
   (let ((commit "593023ffb99a368152ebd4e739488fa560bdfdea")
         (revision "0"))

base-commit: 656baadf83f2812c0ff79f4f2f0b5f1e927ed8a5
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#70029] [PATCH v1] gnu: Add emacs-eglot-jl.
  2024-03-28  8:55 ` [bug#70029] [PATCH v1] " Cayetano Santos via Guix-patches via
@ 2024-03-29 12:29   ` Nicolas Goaziou via Guix-patches via
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou via Guix-patches via @ 2024-03-29 12:29 UTC (permalink / raw)
  To: 70029; +Cc: 70029-done, Cayetano Santos

Hello,

> * gnu/packages/emacs-xyz.scm (emacs-eglot-jl): New variable.

Applied. Thanks!

> Signed-off-by: Cayetano Santos <csantosb@inventati.org>

Note: Signing off is for the committer, not for the provider of the
patch, if they differ.

Regards,

-- 
Nicolas Goaziou






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-29 12:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-27 13:58 [bug#70029] [PATCH] gnu: Add emacs-eglot-jl Cayetano Santos via Guix-patches via
2024-03-27 15:59 ` Nicolas Goaziou via Guix-patches via
2024-03-28  8:55 ` [bug#70029] [PATCH v1] " Cayetano Santos via Guix-patches via
2024-03-29 12:29   ` Nicolas Goaziou via Guix-patches via

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).