diff mbox series

[bug#67902,v3,69/96] gnu: Add php-symfony-http-kernel.

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

Commit Message

Nicolas Graves Oct. 7, 2024, midnight UTC
* gnu/packages/php-xyz.scm (php-symfony-http-kernel): New variable.

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

Patch

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 06c53feaee..996768781e 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -1820,3 +1820,36 @@  (define-public php-symfony-http-foundation
     (home-page "https://symfony.com")
     (license license:expat)))
 
+(define-public php-symfony-http-kernel
+  (package
+    (name "php-symfony-http-kernel")
+    (version "6.3.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/symfony/http-kernel")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1dhvy4fn4qzqxsk4wiz6z53y3vz9z1n3d7js0s4858z1z7pdsfwv"))))
+    (build-system composer-build-system)
+    (inputs
+     (list php-symfony-deprecation-contracts
+           php-symfony-error-handler
+           php-symfony-event-dispatcher
+           php-symfony-http-foundation
+           php-symfony-polyfill-ctype
+           php-psr-log))
+    (native-inputs
+     (list php-phpunit-phpunit
+           php-symfony-dependency-injection
+           php-symfony-phpunit-bridge
+           php-symfony-uid))
+    (synopsis "Handle HTTP requests in PHP")
+    (description
+     "This package provides a structured process for converting an HTTP
+Request into a Response.")
+    (home-page "https://symfony.com")
+    (license license:expat)))
+