guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnu: Add emacs-ahungry-theme.


From: Alex Vong
Subject: [PATCH] gnu: Add emacs-ahungry-theme.
Date: Thu, 25 Aug 2016 14:04:27 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hi,

This patch adds ahungry theme from elpa, which I am currently using. I
test the patch by `./pre-inst-env guix install emacs-ahungry-theme' and
launching emacs. It works fine on my machine.

Cheers,
Alex

>From ce1481926e96728327bd7e517d8d2bdfa990b989 Mon Sep 17 00:00:00 2001
From: Alex Vong <address@hidden>
Date: Thu, 25 Aug 2016 13:49:31 +0800
Subject: [PATCH] gnu: Add emacs-ahungry-theme.

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index dfe5ce7..d072141 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -15,6 +15,7 @@
 ;;; Copyright © 2016 ng0 <address@hidden>
 ;;; Copyright © 2016 Alex Griffin <address@hidden>
 ;;; Copyright © 2016 Nicolas Goaziou <address@hidden>
+;;; Copyright © 2016 Alex Vong <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2981,3 +2982,23 @@ lists, and project planning with a fast and effective 
plain-text system.  It
 also is an authoring system with unique support for literate programming and
 reproducible research.")
     (license license:gpl3+)))
+
+(define-public emacs-ahungry-theme
+  (package
+    (name "emacs-ahungry-theme")
+    (version "1.3.0")
+    (source
+     (origin (method url-fetch)
+             (uri (string-append "http://elpa.gnu.org/packages/ahungry-theme-";
+                                 version ".tar"))
+             (sha256
+              (base32 
"1p2zaq0s4bbl5cx6wyab24wamw7m0mysb0v47dqjmnvfc25z84rq"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/ahungry/color-theme-ahungry";)
+    (synopsis
+     "Ahungry color theme for Emacs.  Make sure to (load-theme 'ahungry).")
+    (description "Bright and bold color theme for GNU Emacs.
+
+If you load it from a terminal, you will be able to make use of the transparent
+background.  If you load it from a GUI, it will default to a dark background.")
+    (license license:gpl3+)))
-- 
2.9.3


reply via email to

[Prev in Thread] Current Thread [Next in Thread]