Subject: [PATCH] gnu: Add emacs-clojure-snippets.

From: Alexandr Vityazev <[email-masked]>
Date: Thu, 03 Jun 2021 21:34:43 +0000

* 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