diff mbox series

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

Message ID 20241007214530.4420-14-ngraves@ngraves.fr
State New
Headers show
Series [bug#67902,v4,01/98] gnu: Add abnfgen. | expand

Commit Message

Nicolas Graves Oct. 7, 2024, 9:43 p.m. UTC
* 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 mbox series

Patch

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)))
+