all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#38177] [PATCH] Add emacs-spacegray-theme.
@ 2019-11-12 14:28 David Wilson
  2019-11-12 14:32 ` David Wilson
  0 siblings, 1 reply; 3+ messages in thread
From: David Wilson @ 2019-11-12 14:28 UTC (permalink / raw)
  To: 38177


[-- Attachment #1.1: Type: text/plain, Size: 169 bytes --]

Hi Guix!

This patch adds the Spacegray theme for Emacs. I've tested it in a profile locally and it loads up just fine. `guix lint' output is also clean.

Thanks!

David

[-- Attachment #1.2: Type: text/html, Size: 669 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-emacs-spacegray-theme.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-emacs-spacegray-theme.patch", Size: 1855 bytes --]

From 56974fb35273e3a65eaf864842da2be1a1edeaa0 Mon Sep 17 00:00:00 2001
From: David Wilson <david@daviwil.com>
Date: Mon, 11 Nov 2019 06:54:59 -0800
Subject: [PATCH] gnu: Add emacs-spacegray-theme.

* gnu/packages/emacs-xyz.scm (emacs-spacegray-theme) New variable.
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 52a22ccca5..0ff92f0780 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4881,6 +4881,30 @@ is to keep colors easily distinguishable, contrast enough and still pleasant
 for the eyes.")
     (license license:expat))) ; MIT license
 
+(define-public emacs-spacegray-theme
+  (let ((commit "9826265c2bceb2ebc1c5e16a45021da0253ace97")
+        (revision "0"))
+    (package
+      (name "emacs-spacegray-theme")
+      (version (git-version "0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/bruce/emacs-spacegray-theme.git")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0aplwmm17ypbns5blc4rf5rr6dasj0zp5ibykpfl43fh4bd8z89n"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/bruce/emacs-spacegray-theme")
+      (synopsis "Port of Sublime Text's Spacegray theme for Emacs")
+      (description
+       "@code{spacegray-theme} is an Emacs port of the Spacegray theme from
+Sublime Text.  It features a dark blue/gray background and soft blue, green,
+orange and red as accent colors.")
+      (license license:expat)))) ; MIT license
+
 (define-public emacs-2048-game
   (package
     (name "emacs-2048-game")
-- 
2.24.0


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

* [bug#38177] [PATCH] Add emacs-spacegray-theme.
  2019-11-12 14:28 [bug#38177] [PATCH] Add emacs-spacegray-theme David Wilson
@ 2019-11-12 14:32 ` David Wilson
  2019-11-13 22:20   ` bug#38177: " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: David Wilson @ 2019-11-12 14:32 UTC (permalink / raw)
  To: 38177

[-- Attachment #1: Type: text/plain, Size: 87 bytes --]

Forgot to add myself to the copyright header!  Here's an updated patch.

Thanks!

David

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-emacs-spacegray-theme.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-emacs-spacegray-theme.patch", Size: 2179 bytes --]

From 586a88ab702cab13990df2cf04413d0650cc5003 Mon Sep 17 00:00:00 2001
From: David Wilson <david@daviwil.com>
Date: Mon, 11 Nov 2019 06:54:59 -0800
Subject: [PATCH] gnu: Add emacs-spacegray-theme.

* gnu/packages/emacs-xyz.scm (emacs-spacegray-theme) 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 52a22ccca5..5775870053 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -56,6 +56,7 @@
 ;;; Copyright © 2019 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
 ;;; Copyright © 2019 Stephen Webber <montokapro@gmail.com>
 ;;; Copyright © 2019 Leo Prikler <leo.prikler@student.tugraz.at>
+;;; Copyright © 2019 David Wilson <david@daviwil.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4881,6 +4882,30 @@ is to keep colors easily distinguishable, contrast enough and still pleasant
 for the eyes.")
     (license license:expat))) ; MIT license
 
+(define-public emacs-spacegray-theme
+  (let ((commit "9826265c2bceb2ebc1c5e16a45021da0253ace97")
+        (revision "0"))
+    (package
+      (name "emacs-spacegray-theme")
+      (version (git-version "0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/bruce/emacs-spacegray-theme.git")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0aplwmm17ypbns5blc4rf5rr6dasj0zp5ibykpfl43fh4bd8z89n"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/bruce/emacs-spacegray-theme")
+      (synopsis "Port of Sublime Text's Spacegray theme for Emacs")
+      (description
+       "@code{spacegray-theme} is an Emacs port of the Spacegray theme from
+Sublime Text.  It features a dark blue/gray background and soft blue, green,
+orange and red as accent colors.")
+      (license license:expat)))) ; MIT license
+
 (define-public emacs-2048-game
   (package
     (name "emacs-2048-game")
-- 
2.24.0


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

* bug#38177: [PATCH] Add emacs-spacegray-theme.
  2019-11-12 14:32 ` David Wilson
@ 2019-11-13 22:20   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2019-11-13 22:20 UTC (permalink / raw)
  To: David Wilson; +Cc: 38177-done

Hello David,

"David Wilson" <david@daviwil.com> skribis:

> From 586a88ab702cab13990df2cf04413d0650cc5003 Mon Sep 17 00:00:00 2001
> From: David Wilson <david@daviwil.com>
> Date: Mon, 11 Nov 2019 06:54:59 -0800
> Subject: [PATCH] gnu: Add emacs-spacegray-theme.
>
> * gnu/packages/emacs-xyz.scm (emacs-spacegray-theme) New variable.

Applied, thanks!

Ludo’.

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

end of thread, other threads:[~2019-11-13 22:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-12 14:28 [bug#38177] [PATCH] Add emacs-spacegray-theme David Wilson
2019-11-12 14:32 ` David Wilson
2019-11-13 22:20   ` bug#38177: " Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.