Subject: emacs-base16-theme
From: ng0 <[email-masked]>
To: [email-masked]
Date: Sun, 6 Aug 2017 14:43:42 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

I used melpa stable because the source on github only generates
the themes it detects the environment could use (which is
1 out of a huge themepark).
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org
From 04ebf7b32e6176e70458e95b4ae2b2adee6676c5 Mon Sep 17 00:00:00 2001
From: ng0 <[email-masked]>
Date: Sun, 6 Aug 2017 14:40:37 +0000
Subject: [PATCH] gnu: Add emacs-base16-theme.

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 4aa713346..31ad6fe74 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -12,7 +12,7 @@
 ;;; Copyright © 2016 David Thompson <[email-masked]>
 ;;; Copyright © 2016 Matthew Jordan <[email-masked]>
 ;;; Copyright © 2016, 2017 Roel Janssen <[email-masked]>
-;;; Copyright © 2016, 2017 ng0 <[email-masked]>
+;;; Copyright © 2016, 2017 ng0 <[email-masked]>
 ;;; Copyright © 2016 Alex Griffin <[email-masked]>
 ;;; Copyright © 2016, 2017 Nicolas Goaziou <[email-masked]>
 ;;; Copyright © 2016 Alex Vong <[email-masked]>
@@ -2603,6 +2603,27 @@ transparent background.  If you load it from a GUI, it will default to a
 dark background.")
     (license license:gpl3+)))
 
+(define-public emacs-base16-theme
+  (package
+    (name "emacs-base16-theme")
+    (version "2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://stable.melpa.org/packages/base16-theme-"
+                           version ".tar"))
+       (sha256
+        (base32
+         "0z6hrwz2jlz6jbr381rcqcqvx6hss5cad352klx07rark7zccacj"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/belak/base16-emacs")
+    (synopsis "base16 color themes for Emacs")
+    (description
+     "Base16 provides carefully chosen syntax highlighting and a default set
+of sixteen colors suitable for a wide range of applications.  Base16 is not a
+single theme but a set of guidelines with numerous implementations.")
+    (license license:expat)))
+
 (define-public emacs-smartparens
   (package
     (name "emacs-smartparens")
-- 
2.13.4