Subject: [PATCH 64/95] gnu: Add php-symfony-expression-language.

From: Nicolas Graves <[email-masked]>
Date: Tue, 19 Dec 2023 14:57:45 +0100

* gnu/packages/php-xyz.scm (php-symfony-expression-language): New variable.

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

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 97fba315e0..21ad335183 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -1704,3 +1704,31 @@ (define-public php-symfony-event-dispatcher-contracts
     (home-page "https://symfony.com")
     (license license:expat)))
 
+(define-public php-symfony-expression-language
+  (package
+    (name "php-symfony-expression-language")
+    (version "6.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/symfony/expression-language")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0xbsjnqb4mm6c8l0lri4qsdb9y9fjavjnx9g0n3gbwy8gh5v0d03"))))
+    (build-system composer-build-system)
+    (inputs
+     (list (package/inherit php-symfony-cache
+             (arguments '(#:tests? #f))
+             (native-inputs '()))
+           php-symfony-deprecation-contracts
+           php-symfony-service-contracts))
+    (native-inputs
+     (list php-phpunit-phpunit php-symfony-phpunit-bridge))
+    (synopsis "Evaluate PHP expressions")
+    (description "This package provides an engine that can compile and
+evaluate expressions.")
+    (home-page "https://symfony.com")
+    (license license:expat)))
+
-- 
2.41.0