Subject: [PATCH v5 33/54] gnu: Add php-psr-event-dispatcher.

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

* gnu/packages/php-bootstrap.scm (php-psr-event-dispatcher): 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 44e883660b..53823934be 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -804,3 +804,23 @@ (define-public php-psr-container
 the components of a Dependency Injection Container.")
     (home-page "https://www.php-fig.org/psr/psr-11/")
     (license license:expat)))
+
+(define-public php-psr-event-dispatcher
+  (package
+    (name "php-psr-event-dispatcher")
+    (version "1.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/php-fig/event-dispatcher")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1rxjscznzihbpgngwci61ji8qy5c623qmpy9zpqbj0f5vv8l99kp"))))
+    (build-system composer-build-system)
+    (synopsis "PHP interfaces for event handling")
+    (description "This package provides PHP standard interfaces for event
+handling, as defined by @url{https://php-fig.org/psr/psr-14/,PSR-14}.")
+    (home-page "https://www.php-fig.org/psr/psr-14/")
+    (license license:expat)))
-- 
2.46.0