Subject: [bug#72874] [PATCH 8/8] gnu: Add toml-test.

From: gemmaro <[email-masked]>
Date: Fri, 30 Aug 2024 00:14:10 +0900

* gnu/packages/golang-xyz.scm (toml-test): New variable.

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

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 28480e6930..ec44ae0d38 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -82,6 +82,7 @@ (define-module (gnu packages golang-xyz)
   #:use-module (gnu packages golang-maths)
   #:use-module (gnu packages golang-web)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages python)
   #:use-module (gnu packages specifications))
 
 ;;; Commentary:
@@ -7234,6 +7235,18 @@ (define-public jfmt
      (string-append (package-description go-zgo-at-jfmt)
                     "  This package provides a command line interface (CLI) tool."))))
 
+(define-public toml-test
+  (package/inherit go-github-com-toml-lang-toml-test
+    (name "toml-test")
+    (arguments (list #:install-source? #f
+                     #:import-path
+                     "github.com/toml-lang/toml-test/cmd/toml-test"
+                     #:unpack-path "github.com/toml-lang/toml-test"))
+    (native-inputs (list python-3 jfmt))
+    (description (string-append (package-description
+                                 go-github-com-toml-lang-toml-test)
+                  "  This package provides a command line interface (CLI) tool."))))
+
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
 ;;; of a merge conflict, place them above by existing packages with similar
-- 
2.45.2