From b334f914036fab2e0d9e7f3ee529abf0fcbdde89 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 23 Apr 2023 14:27:31 +0200 Subject: [PATCH] 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 --- gnu/packages/golang.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 52bb95a5737183ac76a5895e22c7d3294be478a1..bccfee0b5dded203807913b85dc56b093410df08 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")