unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Josep Bigorra <jjbigorra@gmail.com>
To: 75447@debbugs.gnu.org
Subject: [bug#75447] adding guile-uuid package
Date: Wed, 8 Jan 2025 16:39:15 +0100	[thread overview]
Message-ID: <CAM_04A3od+VxeX+mWBLNpxhR+s0w2TPqU8gm=_XQ90WYiMR-gg@mail.gmail.com> (raw)

[-- 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


                 reply	other threads:[~2025-01-08 20:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM_04A3od+VxeX+mWBLNpxhR+s0w2TPqU8gm=_XQ90WYiMR-gg@mail.gmail.com' \
    --to=jjbigorra@gmail.com \
    --cc=75447@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).