diff mbox

gnu: Add emacs-eprime

Message ID 87r3bau0bb.fsf@gnu.org
State New
Headers show

Commit Message

Roel Janssen July 3, 2016, 4:57 p.m. UTC
Dear Guix,

Here's a fairly trivial patch to add an eprime-mode for Emacs.  The
author hasn't made a release (at least not on Github), so I grabbed
the source by the most recent commit (June 27, 2014), and used a version
number compatible with how it is used in MELPA.

Hopefully this is OK to push.
Thank you for your time.

Kind regards,
Roel Janssen


>From 725447eb40aad3be64d9caade294927d1a7877f1 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Sun, 3 Jul 2016 18:53:33 +0200
Subject: [PATCH] gnu: Add emacs-eprime

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

Comments

Alex Kost July 4, 2016, 7:17 a.m. UTC | #1
Roel Janssen (2016-07-03 19:57 +0300) wrote:

> Dear Guix,
>
> Here's a fairly trivial patch to add an eprime-mode for Emacs.  The
> author hasn't made a release (at least not on Github), so I grabbed
> the source by the most recent commit (June 27, 2014), and used a version
> number compatible with how it is used in MELPA.

It looks like there is no release anywhere indeed, so I think it's OK.

> Hopefully this is OK to push.
> Thank you for your time.

Applied as 7034791aa25db02e392495c44d68a5de937bdf7a, thanks!
diff mbox

Patch

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index f95e7b0..5291c2c 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -2052,6 +2052,28 @@  Emacs default configuration in uncontroversial ways that nearly everyone can
 agree upon.")
     (license license:gpl3+)))
 
+(define-public emacs-eprime
+  (let ((commit "17a481af26496be91c07139a9bfc05cfe722506f"))
+    (package
+      (name "emacs-eprime")
+      (version (string-append "20140513-" (string-take commit 7)))
+      (source (origin
+                (method url-fetch)
+                (uri (string-append "https://raw.githubusercontent.com"
+                                    "/AndrewHynes/eprime-mode/"
+                                    commit "/eprime-mode.el"))
+                (file-name (string-append "eprime-" version ".el"))
+                (sha256
+                 (base32
+                  "0v68lggkyq7kbcr9zyi573m2g2x251xy3jadlaw8kx02l8krwq8d"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/AndrewHynes/eprime-mode")
+      (synopsis "E-prime checking mode for Emacs")
+      (description "This package provides an E-prime checking mode for Emacs
+that highlights non-conforming text.  The subset of the English language called
+E-Prime forbids the use of the \"to be\" form to strengthen your writing.")
+      (license license:gpl3+))))
+
 (define-public emacs-smex
   (package
     (name "emacs-smex")