Subject: bug#73822: closed (Re: [PATCH] gnu: emacs-xyz: add emacs-catppuccin-theme)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 24 Oct 2024 13:17:02 +0000

Your bug report

#73822: [PATCH] gnu: emacs-xyz: add emacs-catppuccin-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].

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

Subject: Re: [PATCH] gnu: emacs-xyz: add emacs-catppuccin-theme
From: Nicolas Goaziou <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Thu, 24 Oct 2024 15:15:26 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

> small addition to emacs-xyz to add the catppuccin theme

I added a proper commit message, tweaked a bit the patch and applied it. Thanks!

> +(define-public emacs-catppuccin-theme
> +  (package
> +   (name "emacs-catppuccin-theme")
> +   (version "20240829.2151")

I used version from upstream instead.

> +   (source
> +    (origin
> +     (method git-fetch)
> +     (uri (git-reference
> +	   (url "https://github.com/catppuccin/emacs.git")

I removed the ".git" suffix.

> +	   (commit "3e4e534a60d72851feb6709be4afe4acc3374c87")))

I let-bound this in a variable around the package definition.

> +     (file-name (git-file-name name version))
> +     (sha256
> +      (base32 "1fj93np7x8b2hvhcryb61ryir49pgy4n8bciph2s43rczz6z1pii"))))
> +   (build-system emacs-build-system)
> +   (home-page "https://github.com/catppuccin/emacs")
> +   (synopsis "Catppuccin for Emacs - Soothing pastel theme for Emacs")
> +   (description
> +    "Soothing pastel theme for Emacs @code{catppuccin-theme.el} provides the theme @code{catppuccin}, a port of the Catppuccin colors to Emacs.  To select a palette and enable the theme, evaluate: @code{(setq catppuccin-flavor frappe)} ; or latte, macchiato, or mocha (load-theme catppuccin t) For more information visit <https://catppuccin.com>.")
> +   (license license:expat)))

I tweaked the description and the synopsis according to project's page.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: emacs-xyz: add emacs-catppuccin-theme
From: [email-masked]
To: [email-masked]
Cc: emma thompson <[email-masked]>
Date: Tue, 15 Oct 2024 17:51:04 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

From: emma thompson <[email-masked]>

small addition to emacs-xyz to add the catppuccin 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 0be1ac83bc..9864d9f06b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -146,6 +146,7 @@
 ;;; Copyright © 2024 Ashish SHUKLA <[email-masked]>
 ;;; Copyright © 2024 Artyom V. Poptsov <[email-masked]>
 ;;; Copyright © 2024 Spencer King <[email-masked]>
+;;; Copyright © 2024 emma thompson <[email-masked]>
 
 ;;;
 ;;; This file is part of GNU Guix.
@@ -2167,6 +2168,26 @@ (define-public emacs-acme-theme
 inspired by Plan 9 Acme and the Sam text editor.")
       (license license:gpl3+))))
 
+(define-public emacs-catppuccin-theme
+  (package
+   (name "emacs-catppuccin-theme")
+   (version "20240829.2151")
+   (source
+    (origin
+     (method git-fetch)
+     (uri (git-reference
+	   (url "https://github.com/catppuccin/emacs.git")
+	   (commit "3e4e534a60d72851feb6709be4afe4acc3374c87")))
+     (file-name (git-file-name name version))
+     (sha256
+      (base32 "1fj93np7x8b2hvhcryb61ryir49pgy4n8bciph2s43rczz6z1pii"))))
+   (build-system emacs-build-system)
+   (home-page "https://github.com/catppuccin/emacs")
+   (synopsis "Catppuccin for Emacs - Soothing pastel theme for Emacs")
+   (description
+    "Soothing pastel theme for Emacs @code{catppuccin-theme.el} provides the theme @code{catppuccin}, a port of the Catppuccin colors to Emacs.  To select a palette and enable the theme, evaluate: @code{(setq catppuccin-flavor frappe)} ; or latte, macchiato, or mocha (load-theme catppuccin t) For more information visit <https://catppuccin.com>.")
+   (license license:expat)))
+
 (define-public emacs-theme-magic
   ;; No tagged release upstream, but the commit below correspond to the 0.2.3
   ;; release.

base-commit: 377359315fbb0e1414354910ba3a14c145fdc519
-- 
2.46.0