Subject: [PATCH 1/3] gnu: Add go-github-com-docopt-docopt-go.

From: Luis Higino <[email-masked]>
Date: Sat, 1 Jun 2024 05:06:31 +0000

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

Change-Id: I70ab7bce1a4ac13e1b63ecb72f5b7df0b8b94b69
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ab41508103..fa52798a25 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3279,6 +3279,31 @@ (define-public go-github-com-tj-docopt
     (home-page "https://github.com/tj/docopt")
     (license license:expat)))
 
+(define-public go-github-com-docopt-docopt-go
+  (let ((commit "ee0de3bc6815ee19d4a46c7eb90f829db0e014b1")
+        (revision "0"))
+    (package
+      (name "go-github-com-docopt-docopt-go")
+      (version (git-version "0.6.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/docopt/docopt.go")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0hlra7rmi5pmd7d93rv56ahiy4qkgmq8a6mz0jpadvbi5qh8lq6j"))))
+      (build-system go-build-system)
+      (arguments
+       (list
+        #:import-path "github.com/docopt/docopt-go"))
+      (home-page "https://github.com/docopt/docopt.go")
+      (synopsis "Implementation of docopt in the Go programming language")
+      (description
+       "Package docopt parses command-line arguments based on a help message.")
+      (license license:expat))))
+
 (define-public govulncheck
   (package
     (name "govulncheck")
-- 
2.41.0