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

* gnu/packages/emacs-xyz.scm (emacs-doom-snippets): New variable.
---
 gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9614ba2f30..4573d9335c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12465,6 +12465,34 @@ snippets.  When this package is installed, the extra snippets it provides are
 automatically made available to YASnippet.")
     (license license:gpl3+)))
 
+(define-public emacs-doom-snippets
+  ;; Use the latest commit, as there are no tagged releases.
+  (let ((release "0")
+        (revision "0")
+        (commit "bc613f448eed1bd363e61c41691a61e9fd139534"))
+    (package
+      (name "emacs-doom-snippets")
+      (version (git-version release revision commit))
+      (home-page "https://github.com/hlissner/doom-snippets")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url home-page)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0n4b2pr0gpn8vb2n1rckdq4jk9sj995a62yxk6z2ygw5ad7pkj8f"))))
+      (build-system emacs-build-system)
+      (arguments
+       `(#:include (cons* "^.*\\/" %default-include)))
+      (propagated-inputs
+       `(("emacs-yasnippet" ,emacs-yasnippet)))
+      (synopsis "Doom Emacs' Snippet Library")
+      (description
+       "This package provides Yasnippets snippets for Doom Emacs.")
+      (license license:expat))))
+
 (define-public emacs-helm-c-yasnippet
   (let ((commit "65ca732b510bfc31636708aebcfe4d2d845b59b0")
         (revision "1"))
-- 
2.31.1



-- 

Alexandr Vityazev




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

* bug#48882: [PATCH] gnu: Add emacs-doom-snippets.
  2021-06-06 20:20 [bug#48882] [PATCH] gnu: Add emacs-doom-snippets Alexandr Vityazev
@ 2021-06-12 20:18 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2021-06-12 20:18 UTC (permalink / raw)
  To: Alexandr Vityazev; +Cc: 48882-done

Hello,

Alexandr Vityazev <avityazev@posteo.org> writes:

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

Applied. Thank you.

> +(define-public emacs-doom-snippets
> +  ;; Use the latest commit, as there are no tagged releases.
> +  (let ((release "0")

I used 1.1.0 as this is the version specified in the main file.

> +      (synopsis "Doom Emacs' Snippet Library")

I switched this to sentence case.

> +      (description
> +       "This package provides Yasnippets snippets for Doom Emacs.")

I slightly expounded the description per documentation in the repository.

Regards,
-- 
Nicolas Goaziou




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

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

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