Subject: [bug#67902] [PATCH v5 29/54] gnu: Add php-psr-log.

From: Nicolas Graves <[email-masked]>
Date: Fri, 18 Oct 2024 01:05:52 +0200

* gnu/packages/php-bootstrap.scm (php-psr-log): New variable.
---
 gnu/packages/php-bootstrap.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index 497955335e..8204377326 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -726,3 +726,23 @@ (define-public php-phpunit-php-token-stream
     (description "This library provides a wrapper around PHP's tokenizer
 extension.")
     (license license:bsd-3)))
+
+(define-public php-psr-log
+  (package
+    (name "php-psr-log")
+    (version "3.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/php-fig/log")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0z3qnkxbn7y2grq6k2h659aswvi8hrm6dyw4x0qcdsd9l2nlx0kf"))))
+    (build-system composer-build-system)
+    (synopsis "PHP interface for logging")
+    (description "This package provides a common interface for PHP logging
+libraries, as defined by @url{https://www.php-fig.org/psr/psr-3/,PSR-3}.")
+    (home-page "https://www.php-fig.org/psr/psr-3/")
+    (license license:expat)))
-- 
2.46.0