diff mbox series

[bug#67902,v3,64/96] gnu: Add php-symfony-event-dispatcher-contracts.

Message ID 20241007000046.25625-64-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-symfony-event-dispatcher-contracts): New variable.

Change-Id: If1222680634687bce31050c604b93e386489931d
---
 gnu/packages/php-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 094eb9a24f..c264010046 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -1675,3 +1675,24 @@  (define-public php-symfony-event-dispatcher
     (home-page "https://symfony.com")
     (license license:expat)))
 
+(define-public php-symfony-event-dispatcher-contracts
+  (package
+    (name "php-symfony-event-dispatcher-contracts")
+    (version "3.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/symfony/event-dispatcher-contracts")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1l2vigh39v7a4kcx3jxllsd0flvhanhidr61dvvf653v7ll8igk3"))))
+    (build-system composer-build-system)
+    (inputs (list php-psr-event-dispatcher))
+    (synopsis "PHP abstractions for event handling")
+    (description "This package provides generic abstractions related to
+dispatching event in PHP.")
+    (home-page "https://symfony.com")
+    (license license:expat)))
+