diff mbox series

[bug#67902,v3,65/96] gnu: Add php-symfony-expression-language.

Message ID 20241007000046.25625-65-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-expression-language): New variable.

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

Patch

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index c264010046..132f4eda28 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -1696,3 +1696,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)))
+