Subject: [bug#67902] [PATCH v4 14/98] gnu: Add php-fig-log-test.

From: Nicolas Graves <[email-masked]>
Date: Mon, 7 Oct 2024 23:43:42 +0200

* gnu/packages/php-xyz.scm (php-fig-log-test): New variable.

Change-Id: Icb94f6bd039271246c36fa0d1520efbed5f9a39c
---
 gnu/packages/php-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 28e1e5cd4b..6d1efc795f 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -325,3 +325,30 @@ (define-public php-egulias-email-validator
     (home-page "https://github.com/egulias/EmailValidator")
     (license license:expat)))
 
+(define-public php-fig-log-test
+  (package
+    (name "php-fig-log-test")
+    (version "1.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/php-fig/log-test")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0qli30g6gj458r09sbxx286dpjmh30yhhl7vnfw5m7f91x3lfdlz"))))
+    (build-system composer-build-system)
+    (arguments
+     '(#:test-flags '("--bootstrap" "vendor/autoload.php")))
+    (inputs
+     (list php-psr-log))
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (synopsis "Tests utils for the PHP psr/log package")
+    (description
+     "This package provides test utilities for the psr/log package that backs
+the PSR-3 specification.")
+    (home-page "https://github.com/php-fig/log-test")
+    (license license:expat)))
+
-- 
2.46.0