Subject: [PATCH v3 68/96] gnu: Add php-symfony-http-foundation.

From: Nicolas Graves <[email-masked]>
Date: Mon, 7 Oct 2024 02:00:03 +0200

* gnu/packages/php-xyz.scm (php-symfony-http-foundation): New variable.

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

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index feabf09106..06c53feaee 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -1791,3 +1791,32 @@ (define-public php-symfony-finder
     (home-page "https://symfony.com")
     (license license:expat)))
 
+(define-public php-symfony-http-foundation
+  (package
+    (name "php-symfony-http-foundation")
+    (version "6.3.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/symfony/http-foundation")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "18g5cvyvww5a5qac9iw606lkyya4dndrzs6ddxayp7a3nr1i733n"))))
+    (build-system composer-build-system)
+    (inputs
+     (list php-symfony-polyfill-mbstring php-symfony-deprecation-contracts))
+    (native-inputs
+     (list php-doctrine-dbal
+           php-phpunit-phpunit
+           php-predis-predis
+           php-symfony-phpunit-bridge
+           php-symfony-mime
+           php-symfony-expression-language))
+    (synopsis "PHP HTTP specification")
+    (description "This package defines an object-oriented layer for the HTTP
+specification in PHP.")
+    (home-page "https://symfony.com")
+    (license license:expat)))
+
-- 
2.46.0