Subject: [bug#64486] [PATCH v2 07/22] gnu: Add perl-test2-tools-command.

From: Bruno Victal <[email-masked]>
Date: Tue, 24 Oct 2023 16:15:27 +0100

* gnu/packages/perl-check.scm (perl-test2-tools-command): New variable.
---
 gnu/packages/perl-check.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm
index 5ef56227ce..e84728030f 100644
--- a/gnu/packages/perl-check.scm
+++ b/gnu/packages/perl-check.scm
@@ -16,6 +16,7 @@
 ;;; Copyright © 2018 Kei Kebreau <[email-masked]>
 ;;; Copyright © 2020 Paul Garlick <[email-masked]>
 ;;; Copyright © 2020 Nicolas Goaziou <[email-masked]>
+;;; Copyright © 2023 Bruno Victal <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -119,6 +120,28 @@ (define-public perl-test2-plugin-nowarnings
 warning content is outputted via diag.")
     (license perl-license)))
 
+(define-public perl-test2-tools-command
+  (package
+    (name "perl-test2-tools-command")
+    (version "0.20")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/J/JM/JMATES/Test2-Tools-Command-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "0n388mc1rqfd960yyfn74lgxwrv2b5yrijxf499g7xdvaj44crn4"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-module-build perl-test2-suite))
+    (propagated-inputs (list perl-file-chdir perl-test2-suite))
+    (home-page "https://metacpan.org/release/Test2-Tools-Command")
+    (synopsis "Test simple Unix commands")
+    (description "This module tests that commands given particular arguments
+result in particular outputs by way of the exit status word, standard output,
+and standard error.")
+    (license bsd-3)))
+
 (define-public perl-test-base
   (package
     (name "perl-test-base")
-- 
2.41.0