From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Vong Subject: [PATCH] gnu: Add emacs-ahungry-theme. Date: Thu, 25 Aug 2016 14:04:27 +0800 Message-ID: <87bn0hv0yc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcnmQ-0001EZ-Bb for guix-devel@gnu.org; Thu, 25 Aug 2016 02:04:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcnmM-0001hu-4T for guix-devel@gnu.org; Thu, 25 Aug 2016 02:04:45 -0400 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]:35850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcnmL-0001hq-Tj for guix-devel@gnu.org; Thu, 25 Aug 2016 02:04:42 -0400 Received: by mail-pf0-x244.google.com with SMTP id y134so2596624pfg.3 for ; Wed, 24 Aug 2016 23:04:41 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-emacs-ahungry-theme.patch Content-Transfer-Encoding: quoted-printable >From ce1481926e96728327bd7e517d8d2bdfa990b989 Mon Sep 17 00:00:00 2001 From: Alex Vong 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 =C2=A9 2016 ng0 ;;; Copyright =C2=A9 2016 Alex Griffin ;;; Copyright =C2=A9 2016 Nicolas Goaziou +;;; Copyright =C2=A9 2016 Alex Vong ;;; ;;; This file is part of GNU Guix. ;;; @@ -2981,3 +2982,23 @@ lists, and project planning with a fast and effectiv= e plain-text system. It also is an authoring system with unique support for literate programming a= nd 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-the= me-" + version ".tar")) + (sha256 + (base32 "1p2zaq0s4bbl5cx6wyab24wamw7m0mysb0v47dqjmnvfc25z84r= q")))) + (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 transp= arent +background. If you load it from a GUI, it will default to a dark backgrou= nd.") + (license license:gpl3+))) --=20 2.9.3 --=-=-=--