diff mbox series

[bug#67902,v3,08/96] gnu: Add php-doctrine-event-manager.

Message ID 20241007000046.25625-8-ngraves@ngraves.fr
State New
Headers show
Series [bug#67902,v3,01/96] gnu: Add abnfgen. | expand

Commit Message

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

Patch

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 017ff751eb..d1a224810d 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -159,3 +159,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)))
+