unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#75447] adding guile-uuid package
@ 2025-01-08 15:39 Josep Bigorra
  0 siblings, 0 replies; only message in thread
From: Josep Bigorra @ 2025-01-08 15:39 UTC (permalink / raw)
  To: 75447

[-- Attachment #1: Type: text/plain, Size: 122 bytes --]

Hi all,
I am adding a package definition for a really cool package, guile-uuid.
Hope I didn't miss anything,
Regards,
Joe

[-- Attachment #2: 0001-added-guile-uuid-package.patch --]
[-- Type: text/x-patch, Size: 2050 bytes --]

From 111801a8a6b6d0e3971e6ff89f99f50e397c1337 Mon Sep 17 00:00:00 2001
Message-ID: <111801a8a6b6d0e3971e6ff89f99f50e397c1337.1736350673.git.jjbigorra@gmail.com>
From: Josep Bigorra <jjbigorra@gmail.com>
Date: Wed, 8 Jan 2025 16:37:35 +0100
Subject: [PATCH] added guile-uuid package

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

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 4dd5095..b3af8ec 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -347,6 +347,34 @@ (define-public guile-openai
 models.")
       (license license:agpl3+))))
 
+;; There are no releases yet of this package.
+(define-public guile-uuid
+  (let ((commit "64002d74025f577e1eeea7bc51218a2c7929631f")
+        (revision "0"))
+    (package
+     (name "guile-uuid")
+     (version (git-version "0.0.0" revision commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://codeberg.org/elb/guile-uuid.git")
+             (commit commit)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1q6dqm2hzq75aa5mrrwgqdml864pdrxc98j7pyj1y0827phnzjfj"))))
+     (build-system guile-build-system)
+     (native-inputs (list guile-3.0 guile-gcrypt))
+     (home-page "https://codeberg.org/elb/guile-uuid")
+     (synopsis
+      "Guile-UUID is a UUID generation and manipulation module for GNU Guile.")
+     (description
+      "This package implements RFC 9562 UUIDs, and can generate versions 1 and 3–8 from that specification.
+        It provides parsing for UUIDs in standard hex-and-dash format of any variant and version.
+        It can also query the variant and version of UUIDs from the RFC.
+        Simple routines for converting between binary and hex-and-dash string UUIDs are included.")
+     (license license:gpl3+))))
+
 ;; There are no releases yet of this package.
 (define-public guile-pipe
   (let ((commit "0746ec38d19d844dff0c6f62f209b2b6c8d8872e")
-- 
2.46.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-01-08 20:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-08 15:39 [bug#75447] adding guile-uuid package Josep Bigorra

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).