unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#53705] [PATCH] gnu: Add emacs-tempel
@ 2022-02-01 17:51 Niklas Eklund
  2022-02-06 21:07 ` bug#53705: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Niklas Eklund @ 2022-02-01 17:51 UTC (permalink / raw)
  To: 53705

[-- Attachment #1: Type: text/plain, Size: 60 bytes --]

Hello,

this patch adds the emacs-tempel package.

/Niklas


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: emacs-tempel --]
[-- Type: text/x-patch, Size: 1712 bytes --]

From b890556ed1a43968599caa55472766fbb8a50cd3 Mon Sep 17 00:00:00 2001
From: Niklas Eklund <niklas.eklund@posteo.net>
Date: Tue, 1 Feb 2022 18:49:29 +0100
Subject: [PATCH] gnu: Add emacs-tempel.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 865c7c4172..b88302d967 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12939,6 +12939,31 @@ (define-public emacs-pretty-mode
      "Emacs minor mode for redisplaying parts of the buffer as pretty symbols.")
     (license license:gpl3+)))
 
+(define-public emacs-tempel
+  (package
+    (name "emacs-tempel")
+    (version "0.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/minad/tempel")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "16972j2qq03q65qszgjjkzl52f79hk007kyi249wg1bqhvfa59b6"))))
+    (arguments
+     (list #:tests? #f))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/minad/tempel")
+    (synopsis "TempEl - Simple templates for Emacs")
+    (description
+     "Tempel is a tiny template package for Emacs, which uses the
+syntax of the Emacs Tempo library.  However Tempo may be a bit
+dusty here and there.  Therefore we present to you, Tempel, a
+modernized implementation of Tempo.")
+    (license license:gpl3+)))
+
 (define-public emacs-yasnippet
   (package
     (name "emacs-yasnippet")
-- 
2.32.0


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

* bug#53705: [PATCH] gnu: Add emacs-tempel
  2022-02-01 17:51 [bug#53705] [PATCH] gnu: Add emacs-tempel Niklas Eklund
@ 2022-02-06 21:07 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2022-02-06 21:07 UTC (permalink / raw)
  To: Niklas Eklund; +Cc: 53705-done

Hello,

Niklas Eklund <niklas.eklund@posteo.net> writes:

> Hello,
>
> this patch adds the emacs-tempel package.

Thank you.

> +    (arguments
> +     (list #:tests? #f))

This is the default in Emacs build system, so I removed it.

> +    (synopsis "TempEl - Simple templates for Emacs")

I removed the first part of the synopsis.

> +    (description
> +     "Tempel is a tiny template package for Emacs, which uses the
> +syntax of the Emacs Tempo library.  However Tempo may be a bit
> +dusty here and there.  Therefore we present to you, Tempel, a
> +modernized implementation of Tempo.")

I reworded the description, as most of it was not useful (e.g.,
modernized implementation doesn't mean much).

Applied!

Regards,
-- 
Nicolas Goaziou




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

end of thread, other threads:[~2022-02-06 21:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-01 17:51 [bug#53705] [PATCH] gnu: Add emacs-tempel Niklas Eklund
2022-02-06 21:07 ` bug#53705: " 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).