unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#48820] [PATCH] gnu: Add emacs-clojure-snippets.
@ 2021-06-03 21:34 Alexandr Vityazev
  2021-06-05 12:01 ` bug#48820: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandr Vityazev @ 2021-06-03 21:34 UTC (permalink / raw)
  To: 48820

* gnu/packages/emacs-xyz.scm (emacs-clojure-snippets): New variable.
---
 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 1892d06960..f7d190da56 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -28328,3 +28328,30 @@ files and buffers, and regex matches against diagnostic output. ")
       (description
        "This package adds Clojure syntax checker clj-kondo. ")
       (license license:gpl3+))))
+
+(define-public emacs-clojure-snippets
+  (let ((version "1.0.1")
+        (revision "0")
+        (commit "6068dca90467a0f4ebc2cd39338a173d6f5ddc04"))
+    (package
+      (name "emacs-clojure-snippets")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/mpenet/clojure-snippets")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0vvadcydpsz4b17dlm1jd4fbddzfqibh3mlzv3k4gvp67vv10cqy"))))
+      (build-system emacs-build-system)
+      (arguments
+       `(#:include (cons* "^.*\\/" %default-include)))
+      (propagated-inputs
+       `(("emacs-yasnippet" ,emacs-yasnippet)))
+      (home-page "https://github.com/mpenet/clojure-snippets")
+      (synopsis "Yasnippets for Clojure")
+      (description
+       "This package provides yasnippets snippets for Clojure.")
+      (license license:gpl3+))))
-- 
2.31.1



-- 

Alexandr Vityazev




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

* bug#48820: [PATCH] gnu: Add emacs-clojure-snippets.
  2021-06-03 21:34 [bug#48820] [PATCH] gnu: Add emacs-clojure-snippets Alexandr Vityazev
@ 2021-06-05 12:01 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2021-06-05 12:01 UTC (permalink / raw)
  To: Alexandr Vityazev; +Cc: 48820-done

Hello,

Alexandr Vityazev <avityazev@posteo.org> writes:

> * gnu/packages/emacs-xyz.scm (emacs-clojure-snippets): New variable.

I applied your patch. Thank you.

Please do not add new package definitions at the end of the file,
because this location is more likely to introduce merge conflicts, like
this time.

I also added a comment explaining why we're not using the latest tagged
release.

Regards,
-- 
Nicolas Goaziou




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

end of thread, other threads:[~2021-06-05 12:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-03 21:34 [bug#48820] [PATCH] gnu: Add emacs-clojure-snippets Alexandr Vityazev
2021-06-05 12:01 ` bug#48820: " 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).