[bug#77234,v3,1/3] gnu: Add my-fcitx5-catppuccin-theme.

Message ID 20250408025333.13586-1-hunt31999@gmail.com
State New
Headers
Series [bug#77234,v3,1/3] gnu: Add my-fcitx5-catppuccin-theme. |

Commit Message

Kurome April 8, 2025, 2:53 a.m. UTC
  * gnu/packages/fcitx5.scm: Add Kurome to copyright header.
(my-fcitx5-catppuccin-theme): New variable.

Change-Id: I6023fa6d5b60e4db00883fdea4c873ecb39fc92b
---
 gnu/packages/fcitx5.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
  

Patch

diff --git a/gnu/packages/fcitx5.scm b/gnu/packages/fcitx5.scm
index 99812b7556..2044625c81 100644
--- a/gnu/packages/fcitx5.scm
+++ b/gnu/packages/fcitx5.scm
@@ -5,6 +5,7 @@ 
 ;;; Copyright © 2022 dan <i@dan.games>
 ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
 ;;; Copyright © 2024 Charles <charles@charje.net>
+;;; Copyright © 2025 Kurome <hunt31999@gmail.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -617,3 +618,32 @@  (define-public fcitx5-rime
 and sentences intelligently and provide very accurate traditional Chinese
 output.")
     (license license:lgpl2.1+)))
+
+(define-public fcitx5-catppuccin-theme
+  (let ((commit "383c27ac46cbb55aa5f58acbd32841c1ed3a78a0")
+        (revision "0"))
+    (package
+      (name "fcitx5-catppuccin-theme")
+      (version (git-version "0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/catppuccin/fcitx5")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "07l5d1nlwiq2jhydxckv7a44kic1y8jl93q0jr2i0lmq0zvdzkcz"))))
+      (build-system copy-build-system)
+      (arguments
+       (list
+        #:install-plan
+        #~'(("src" "share/fcitx5/themes"))))
+      (home-page "https://github.com/catppuccin/fcitx5")
+      (synopsis "Soothing pastel theme for Fcitx5")
+      (description
+       "Fcitx5-catppuccin-theme is a soothing pastel theme for Fcitx 5.  It
+provides 4 flavors (latte, frappe, macchiato and mocha) and 14 accent colors
+(rosewater, flamingo, pink, mauve, red, maroon, peach, yellow, green, teal, sky,
+sapphire, blue and lavender).")
+      (license license:expat))))