diff options
author | Alexandr Vityazev <avityazev@posteo.org> | 2021-06-05 14:00:42 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-05 14:00:42 +0200 |
commit | c6d4f974bcb38433bf559301c87e07ca713b8023 (patch) | |
tree | 705869ebd5ebd297d2a52d78908ab42145b2f3e6 | |
parent | dfdcd9d812d20a86babc4da8a01bc17e44900c3c (diff) | |
download | guix-c6d4f974bcb38433bf559301c87e07ca713b8023.tar.gz |
gnu: Add emacs-clojure-snippets.
* gnu/packages/emacs-xyz.scm (emacs-clojure-snippets): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index b4a96b28be..e13ca415d2 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -8938,6 +8938,35 @@ refactoring for the @uref{http://clojure.org, Clojure programming language}. It is recommended to use @code{clojure-mode} with Paredit or Smartparens.") (license license:gpl3+))) +(define-public emacs-clojure-snippets + ;; Use latest commit (2018) since latest tagged release is too old and is + ;; missing important changes. + (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+)))) + (define-public emacs-epl (package (name "emacs-epl") @@ -28359,3 +28388,4 @@ to the https://multitran.com online dictionary.") "Kibit Helper provides functions to work with the Kibit Leiningen plugin for detecting and improve non-idiomatic Clojure source code.") (license license:gpl3+))) + |