guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#67902] [PATCH v4 63/98] gnu: Add php-symfony-event-dispatcher.


From: Nicolas Graves
Subject: [bug#67902] [PATCH v4 63/98] gnu: Add php-symfony-event-dispatcher.
Date: Mon, 7 Oct 2024 23:44:31 +0200

* gnu/packages/php-xyz.scm (php-symfony-event-dispatcher): New variable.

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

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 619c17fcb2..094eb9a24f 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -1642,3 +1642,36 @@ (define-public php-symfony-error-handler
     (home-page "https://symfony.com";)
     (license license:expat)))
 
+(define-public php-symfony-event-dispatcher
+  (package
+    (name "php-symfony-event-dispatcher")
+    (version "6.3.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/symfony/event-dispatcher";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "10dnagg5939knb3xqym1dcnkcpf7cjzylk3r7d80l9khgxmw8gr8"))))
+    (build-system composer-build-system)
+    (inputs
+     (list php-symfony-event-dispatcher-contracts))
+    (native-inputs
+     (list php-phpunit-phpunit
+           (package/inherit php-symfony-config
+             (arguments '(#:tests? #f))
+             (native-inputs '()))
+           (package/inherit php-symfony-dependency-injection
+             (arguments '(#:tests? #f))
+             (native-inputs '()))
+           php-symfony-error-handler
+           php-symfony-stopwatch))
+    (synopsis "Dispatch events between PHP application components")
+    (description
+     "This package provides tools that allow your application components to
+communicate with each other by dispatching events and listening to them.")
+    (home-page "https://symfony.com";)
+    (license license:expat)))
+
-- 
2.46.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]