guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/27: gnu: Add go-github-com-hashicorp-go-uuid.


From: guix-commits
Subject: 07/27: gnu: Add go-github-com-hashicorp-go-uuid.
Date: Sun, 23 Apr 2023 11:04:57 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit b334f914036fab2e0d9e7f3ee529abf0fcbdde89
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Sun Apr 23 14:27:31 2023 +0200

    gnu: Add go-github-com-hashicorp-go-uuid.
    
    * gnu/packages/golang.scm (go-github-com-hashicorp-go-uuid): New variable.
    
    Signed-off-by: Leo Famulari <leo@famulari.name>
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 52bb95a573..bccfee0b5d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3840,6 +3840,31 @@ is similar to Go's standard library @code{json} and 
@code{xml} package.")
 logging system.")
       (license license:bsd-3))))
 
+(define-public go-github-com-hashicorp-go-uuid
+  (package
+    (name "go-github-com-hashicorp-go-uuid")
+    (version "1.0.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/hashicorp/go-uuid";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0wd4maaq20alxwcvfhr52rzfnwwpmc2a698ihyr0vfns2sl7gkzk"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/hashicorp/go-uuid"))
+    (home-page "https://github.com/hashicorp/go-uuid";)
+    (synopsis "Generate UUID-format strings")
+    (description
+     "This package generates UUID-format strings using high quality bytes.
+It is not intended to be RFC compliant, merely to use a well-understood string
+representation of a 128-bit value.  It can also parse UUID-format strings into
+their component bytes.")
+    (license license:mpl2.0)))
+
 (define-public go-github-com-hashicorp-go-version
   (let ((commit
          "03c5bf6be031b6dd45afec16b1cf94fc8938bc77")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]