guix-commits
[Top][All Lists]
Advanced

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

04/11: gnu: Add go-github-com-nats-io-nuid.


From: guix-commits
Subject: 04/11: gnu: Add go-github-com-nats-io-nuid.
Date: Thu, 8 Feb 2024 16:48:07 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 870f604aa6bc998ba1dc1a086306eaba07b2ec72
Author: Benjamin <benjamin@uvy.fr>
AuthorDate: Thu Feb 8 21:06:09 2024 +0000

    gnu: Add go-github-com-nats-io-nuid.
    
    * gnu/packages/golang-xyz.scm (go-github-com-nats-io-nuid): New variable.
    
    Change-Id: I71ef84703b6971cabacafcba09d1447544fb48bf
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
 gnu/packages/golang-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index b7c6cec1c2..bfe9cee5e6 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -144,6 +144,29 @@ Differentiation between text and binary files}.
     (description "This package provides an idiomatic Go retry module.")
     (license license:expat)))
 
+(define-public go-github-com-nats-io-nuid
+  (package
+    (name "go-github-com-nats-io-nuid")
+    (version "1.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/nats-io/nuid";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "11zbhg4kds5idsya04bwz4plj0mmiigypzppzih731ppbk2ms1zg"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/nats-io/nuid"))
+    (home-page "https://github.com/nats-io/nuid";)
+    (synopsis "Go library implementing identifier generator for NATS 
ecosystem")
+    (description
+     "This package provides a unique identifier generator that is high 
performance,
+very fast, and tries to be entropy pool friendly.")
+    (license license:asl2.0)))
+
 (define-public go-go-uber-org-automaxprocs
   (package
     (name "go-go-uber-org-automaxprocs")



reply via email to

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