unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#44495] [PATCH] gnu: Add emacs-monokai-theme.
@ 2020-11-06 23:39 Noah Landis
  2020-11-07  9:47 ` bug#44495: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Noah Landis @ 2020-11-06 23:39 UTC (permalink / raw)
  To: 44495

From 5565ff611ba239b82141d0055bd71042be56419b Mon Sep 17 00:00:00 2001
From: Noah Landis <noahlandis@posteo.net>
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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#44495: [PATCH] gnu: Add emacs-monokai-theme.
  2020-11-06 23:39 [bug#44495] [PATCH] gnu: Add emacs-monokai-theme Noah Landis
@ 2020-11-07  9:47 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-11-07  9:47 UTC (permalink / raw)
  To: Noah Landis; +Cc: 44495-done

Hello,

Noah Landis <noahlandis@posteo.net> 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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-07  9:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-06 23:39 [bug#44495] [PATCH] gnu: Add emacs-monokai-theme Noah Landis
2020-11-07  9:47 ` bug#44495: " Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).