Subject: Add guile-hygguile to guile-xyz

From: Josep Bigorra <[email-masked]>
Date: Thu, 15 May 2025 10:06:25 +0200

Hi everyone!

I want to upstream my SXML UI component library to Guix, since it has
reached stable status. I think lots of projects can benefit from it. I
have tested this package definition extensively so I don't expect it
to be missing anything, but I'd really appreciate your review. I am
attaching a patch to add it to Guix,

Thanks in advance,
Cheers in freedom

Josep Bigorra (Joe)
From efcf84c9fc35be2d2323789542307f2ff555791c Mon Sep 17 00:00:00 2001
Message-ID: <e[email-masked]>
From: Josep Bigorra <[email-masked]>
Date: Thu, 15 May 2025 10:03:12 +0200
Subject: [PATCH] added guile-hygguile package to guile-xyz

---
 gnu/packages/guile-xyz.scm | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 76150122f9..42ee6377a2 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -51,7 +51,7 @@
 ;;; Copyright © 2024 Artyom Bologov <[email-masked]>
 ;;; Copyright © 2024 Felix Lechner <[email-masked]>
 ;;; Copyright © 2024 Alec Barreto <[email-masked]>
-;;; Copyright © 2024 Josep Bigorra <[email-masked]>
+;;; Copyright © 2024, 2025 Josep Bigorra <[email-masked]>
 ;;; Copyright © 2024 Ashish SHUKLA <[email-masked]>
 ;;; Copyright © 2025 Florian Pelz <[email-masked]>
 ;;;
@@ -5547,6 +5547,33 @@ (define-public guile-slugify
 useful for generating human-readable identifiers from arbitrary text.")
     (license license:gpl3+)))
 
+(define-public guile-hygguile
+  (package
+    (name "guile-hygguile")
+    (version "0.3.6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://codeberg.org/jjba23/hygguile.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1zjlxv5z67g8p0zl8357nvsd7rdwqq50v0dpcjc37jy272zch494"))))
+    (build-system guile-build-system)
+    (native-inputs (list guile-3.0))
+    (arguments
+     (list
+      #:source-directory "src"))
+    (home-page "https://codeberg.org/jjba23/hygguile")
+    (synopsis
+     "SXML and TailwindCSS UI component library for Guile Scheme")
+    (description
+     "Cozy and professional user-interfaces for everyone.
+        SXML and TailwindCSS UI component library for Guile Scheme.
+        hygge + guile = hygguile")
+    (license license:lgpl3+)))
+
 (define-public guile-webutils
   (let ((commit "d309d65a85247e4f3cea63a17defd1e6d35d821f")
         (revision "1"))
-- 
2.49.0