Subject: [PATCH 07/95] gnu: Add php-doctrine-event-manager.

From: Nicolas Graves <[email-masked]>
Date: Tue, 19 Dec 2023 14:56:48 +0100

* gnu/packages/php-xyz.scm (php-doctrine-event-manager): New variable.

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

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index a43f0499dd..438034e50c 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -167,3 +167,26 @@ (define-public php-doctrine-deprecations
     (home-page "https://github.com/doctrine/deprecations")
     (license license:expat)))
 
+(define-public php-doctrine-event-manager
+  (package
+    (name "php-doctrine-event-manager")
+    (version "2.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/doctrine/event-manager")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "093ghp48ci4xazswlaxlmiabw7vay1nvv382nc1i6nrdxn781y0g"))))
+    (build-system composer-build-system)
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (synopsis "Simple PHP event system")
+    (description
+     "This package provides the Doctrine Event Manager, a simple PHP event
+system that was built to be used with the various Doctrine projects.")
+    (home-page "https://www.doctrine-project.org/projects/event-manager")
+    (license license:expat)))
+
-- 
2.41.0