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