Subject: [bug#72963] [PATCH go-team v2 19/22] gnu: Add go-github-com-rogpeppe-go-internal-testscript.

From: Herman Rimm <[email-masked]>
Date: Tue, 3 Dec 2024 14:15:04 +0100

* gnu/packages/golang-xyz.scm
(go-github-com-rogpeppe-go-internal-testscript): Add variable.
---
 gnu/packages/golang-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index d77b5b8cf4..f2f847b009 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -7160,6 +7160,34 @@ (define-public go-github-com-ryanuber-columnize
      "This package implements column-formatted output for Golang.")
     (license license:expat)))
 
+(define-public go-github-com-rogpeppe-go-internal-testscript
+  (package
+    (name "go-github-com-rogpeppe-go-internal-testscript")
+    (version "1.12.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/rogpeppe/go-internal")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "18szjxqrjjvgsvyjbkqs6xw4bvg5nn1myg5hhb5qzwz5xl4wvw5a"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "github.com/rogpeppe/go-internal/testscript"
+           #:unpack-path "github.com/rogpeppe/go-internal"))
+    (propagated-inputs (list go-golang-org-x-tools
+                             go-golang-org-x-sys
+                             go-golang-org-x-mod))
+    (home-page "https://github.com/rogpeppe/go-internal")
+    (synopsis "Internal test scripts from the Go standard library")
+    (description
+     "This package provides internal test scripts from the Go standard
+library.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-sahilm-fuzzy
   (package
     (name "go-github-com-sahilm-fuzzy")
-- 
2.45.2