unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#46530] [PATCH] gnu: Add emacs-theme-sorcery.
@ 2021-02-15 10:50 Adam Kandur via Guix-patches via
  2021-02-15 12:51 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Kandur via Guix-patches via @ 2021-02-15 10:50 UTC (permalink / raw)
  To: 46530

From 39aeaead94df9e73db53f9ca1c7a4b373d55c6ad Mon Sep 17 00:00:00 2001
From: Adam Kandur <rndd@tuta.io>
Date: Mon, 15 Feb 2021 13:46:12 +0300
Subject: [PATCH] gnu: Add emacs-theme-sorcery.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a757703..f6ee43d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -804,6 +804,29 @@ theme and apply them to the rest of Linux with Pywal.  Pywal only applies your
 theme to the current session.")
       (license license:gpl3+))))
 
+(define-public emacs-theme-sorcery
+  (let ((revision "0")
+        (commit "5a1c4445b9e6e09589a299a9962a6973272a0c2f"))
+    (package
+      (name "emacs-theme-sorcery")
+      (version "1.0")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+           (url "https://github.com/mtreca/emacs-theme-sorcery")
+           (commit "master")))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1b858049n6nw4qf60fmszjrhl80x7ssh32f7glj722kwy7404kdh"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-autothemer" ,emacs-autothemer)))
+       (home-page "https://github.com/mtreca/emacs-theme-sorcery")
+      (synopsis "Sorcery is a dark and low-contrast Emacs theme inspired by apprentice and sourcerer.")
+      (description "Sorcery is a dark and low-contrast Emacs theme inspired by apprentice and sourcerer.")
+      (license license:gpl3))))
+
 (define-public emacs-treepy
   (package
     (name "emacs-treepy")
-- 
2.30.0





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

* [bug#46530] [PATCH] gnu: Add emacs-theme-sorcery.
  2021-02-15 10:50 [bug#46530] [PATCH] gnu: Add emacs-theme-sorcery Adam Kandur via Guix-patches via
@ 2021-02-15 12:51 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2021-02-15 12:51 UTC (permalink / raw)
  To: 46530; +Cc: 46530-done, Adam Kandur

Hello,

Adam Kandur via Guix-patches via <guix-patches@gnu.org> writes:

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

Thank you. I applied the patch with the changes below.

> +(define-public emacs-theme-sorcery
> +  (let ((revision "0")
  ^^^
Your indentation uses nbsp instead of spaces.

> +        (commit "5a1c4445b9e6e09589a299a9962a6973272a0c2f"))

[...]

> +           (commit "master")))

I used (commit commit) since "master" is not stable, by essence.

> +      (synopsis "Sorcery is a dark and low-contrast Emacs theme inspired by apprentice and sourcerer.")

I shortened the synopsis.

> +      (license license:gpl3))))

I changed the license to gpl3+ since "sorcery-theme.el" file specifies
"or (at your option) any later version." for its license.

Regards,
-- 
Nicolas Goaziou




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

end of thread, other threads:[~2021-02-15 12:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-15 10:50 [bug#46530] [PATCH] gnu: Add emacs-theme-sorcery Adam Kandur via Guix-patches via
2021-02-15 12:51 ` 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).