Subject: bug#44495: closed (Re: [bug#44495] [PATCH] gnu: Add emacs-monokai-theme.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 07 Nov 2020 09:48:02 +0000

Your bug report

#44495: [PATCH] gnu: Add emacs-monokai-theme.

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].

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

Subject: Re: [bug#44495] [PATCH] gnu: Add emacs-monokai-theme.
From: Nicolas Goaziou <[email-masked]>
To: Noah Landis <[email-masked]>
Cc: [email-masked]
Date: Sat, 07 Nov 2020 10:47:35 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Noah Landis <[email-masked]> writes:

> Subject: [PATCH] gnu: Add emacs-monokai-theme.

Thank you!

I "fixed" the commit message, which should be:

    gnu: Add emacs-monokai-theme.

    * gnu/packages/emacs-xyz.scm (emacs-monokai-theme): New variable.

If you use Yasnippets, you can simply type "update" + TAB in an empty
commit buffer.

Also I suggest to insert new packages elsewhere than at the very end of
the "emacs-xyz.scm" file, as this location is prone to introduce merge
conflicts.

> +    (description
> +     "Monokai theme is a port of the popular TextMate Monokai theme for Emacs.
> +It uses built-in theming support available in Emacs 24 or later.")

I removed the last sentence, which is not useful in our context (Guix
provides Emacs 27).

Patch applied.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add emacs-monokai-theme.
From: Noah Landis <[email-masked]>
To: [email-masked]
Date: Fri, 6 Nov 2020 16:39:04 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

>From 5565ff611ba239b82141d0055bd71042be56419b Mon Sep 17 00:00:00 2001
From: Noah Landis <[email-masked]>
Date: Fri, 6 Nov 2020 16:37:12 -0700
Subject: [PATCH] gnu: Add emacs-monokai-theme.

---
 gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 47657c9ca0..3e231a93d1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -25331,3 +25331,24 @@ service.")
 uncluttered design pattern to achieve optimal focus and readability for code
 syntax highlighting and UI components.")
     (license license:expat)))
+
+(define-public emacs-monokai-theme
+  (package
+    (name "emacs-monokai-theme")
+    (version "3.5.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/oneKelvinSmith/monokai-emacs")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0dy8c3349j7fmp8052hbgvk0b7ldlv5jqpg0paq1i0hlypivd30i"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/oneKelvinSmith/monokai-emacs")
+    (synopsis "High contrast color theme for Emacs")
+    (description
+     "Monokai theme is a port of the popular TextMate Monokai theme for Emacs.
+It uses built-in theming support available in Emacs 24 or later.")
+    (license license:gpl3+)))
-- 
2.29.2