Subject: bug#48820: closed (Re: [bug#48820] [PATCH] gnu: Add emacs-clojure-snippets.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 05 Jun 2021 12:03:02 +0000

Your bug report

#48820: [PATCH] gnu: Add emacs-clojure-snippets.

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

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

Subject: Re: [bug#48820] [PATCH] gnu: Add emacs-clojure-snippets.
From: Nicolas Goaziou <[email-masked]>
To: Alexandr Vityazev <[email-masked]>
Cc: [email-masked]
Date: Sat, 05 Jun 2021 14:01:50 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Alexandr Vityazev <[email-masked]> 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

Subject: [PATCH] gnu: Add emacs-clojure-snippets.
From: Alexandr Vityazev <[email-masked]>
To: [email-masked]
Date: Thu, 03 Jun 2021 21:34:43 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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