Subject: [bug#71636] [PATCH 2/4] gnu: Add go-github-com-warpfork-go-testmark.

From: "Artyom V. Poptsov" <[email-masked]>
Date: Tue, 18 Jun 2024 22:43:43 +0300

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

Change-Id: Ie8c4524ead7f6199dc9de92c1de86e6ad2289512
---
 gnu/packages/golang-check.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 3fc628a202..40f05c1025 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -1034,6 +1034,33 @@ (define-public go-github-com-go-playground-assert-v2
     (arguments
      (list #:import-path "github.com/go-playground/assert/v2"))))
 
+(define-public go-github-com-warpfork-go-testmark
+  (package
+    (name "go-github-com-warpfork-go-testmark")
+    (version "0.12.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/warpfork/go-testmark")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "06v2x3c5qgbj585a2abksr3hgvgdx61j153rjarqi9cvvzwh1xpr"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:go go-1.21
+      #:import-path "github.com/warpfork/go-testmark"))
+    (home-page "https://github.com/warpfork/go-testmark")
+    (synopsis "Parser for @code{testmark} format")
+    (description
+     "@code{go-testmark} is a library to parse and patch data and test fixtures from
+Markdown files, using the
+@url{https://github.com/warpfork/go-testmark?tab=readme-ov-file#what-is-the-testmark-format,
+testmark} format, which itself is a subset of Markdown format.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public go-github-com-warpfork-go-wish
   (package
     (name "go-github-com-warpfork-go-wish")
-- 
2.45.1