Subject: [PATCH] gnu: Add go-github-com-caarlos0-env.

From: "Artyom V. Poptsov" <[email-masked]>
Date: Thu, 24 Oct 2024 23:50:56 +0300

* gnu/packages/golang-xyz.scm (go-github-com-caarlos0-env): New variable.

Change-Id: If15faf6ebae7c94204b816a9d784e6b28d70be2e
---
 gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index e8b7f7ee9f..0d6debcac4 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1394,6 +1394,30 @@ (define-public go-github-com-calmh-xdr
 reflection.")
     (license license:expat)))
 
+(define-public go-github-com-caarlos0-env
+  (package
+    (name "go-github-com-caarlos0-env")
+    (version "11.2.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/caarlos0/env")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "074bagdfvsq65i0cak5l7ipci0b1j2m0j8rd54g7rznhqmxwha97"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/caarlos0/env"))
+    (home-page "https://github.com/caarlos0/env")
+    (synopsis "Library to parse environment variables into structs")
+    (description
+     "@code{env} is a simple, zero-dependencies library to parse environment
+variables into structs.")
+    (license license:expat)))
+
 (define-public go-github-com-charlievieth-fastwalk
   (package
     (name "go-github-com-charlievieth-fastwalk")

base-commit: 2394a7f5fbf60dd6adc0a870366adb57166b6d8b
-- 
2.46.0