Subject: bug#37358: closed (Re: [bug#37358] Add emacs-doom-themes)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 12 Sep 2019 21:24:02 +0000

Your bug report

#37358: Add emacs-doom-themes

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
37358: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37358
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#37358] Add emacs-doom-themes
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Cc: Tim Gesthuizen <[email-masked]>, [email-masked]
Date: Thu, 12 Sep 2019 23:22:58 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Brett,

[email-masked] skribis:

> I have a copy of emacs-doom-themes in my channel here. I never pushed
> it because I didnt feel it was good enough for upstream.

Ah ha, too much self-censorship!

> It works though, feel free to tweak it and push it.
>
> https://git.sr.ht/~brettgilio/cfg/tree/master/guix-channel/non-gnu/packages/emacs-xyz.scm#L10

I’ve added some of the bits of your version that were missing, marked
you as co-author, and committed.

Thanks to both of you!

Ludo’.

Subject: Add emacs-doom-themes
From: Tim Gesthuizen <[email-masked]>
To: [email-masked]
Date: Mon, 09 Sep 2019 18:56:15 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Guix,
I packaged emacs-doom-themes. It would be nice if it could be included
into Guix.
It would be nice if someone could point out a nicer way to handle the
nested directories.

Tim.

>From 3fc45dd06f11523f2f7494bcd69790a879635ae4 Mon Sep 17 00:00:00 2001
From: Tim Gesthuizen <[email-masked]>
Date: Mon, 9 Sep 2019 18:48:31 +0200
Subject: [PATCH] gnu: Add emacs-doom-themes

* gnu/packages/emacs-xyz.scm (emacs-doom-themes): 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 f3de24d825..daf3099328 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -18200,3 +18200,28 @@ You can customize: @code{tao-theme-scale-fn}, that returns 16 2-digit numbers;
 @code{tao-theme-scale-filter-fn}, for edge filter; and
 @code{tao-theme-use-height}.")
       (license license:gpl3+))))
+
+(define-public emacs-doom-themes
+  (package
+    (name "emacs-doom-themes")
+    (version "2.1.6")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/hlissner/emacs-doom-themes.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256 (base32 "042pzcdhxi2z07jcscgjbaki9nrrm0cbgbbrnymd1r4q8ckkn8l9"))))
+    (build-system emacs-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack
+             'move-themes
+           (lambda _
+             (copy-recursively "themes/" "."))))))
+    (synopsis "Wide collection of color themes for emacs")
+    (description "emacs-doom-themes contains numerous popular color themes for
+emacs that integrate with major modes like org-mode.")
+    (home-page "https://github.com/hlissner/emacs-doom-themes")
+    (license license:expat)))
-- 
2.23.0