Subject: [bug#67902] [PATCH v4 88/98] gnu: Add php-symfony-var-exporter.

From: Nicolas Graves <[email-masked]>
Date: Mon, 7 Oct 2024 23:44:56 +0200

* gnu/packages/php-xyz.scm (php-symfony-var-exporter): New variable.

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

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 8c92adee39..59affa7128 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -2353,3 +2353,29 @@ (define-public php-symfony-var-dumper
     (home-page "https://symfony.com")
     (license license:expat)))
 
+(define-public php-symfony-var-exporter
+  (package
+    (name "php-symfony-var-exporter")
+    (version "6.3.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/symfony/var-exporter")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1ca40bggpjj41w92dwikzk1zldr4k1bs677j0c7vmh4kjm8ij939"))))
+    (build-system composer-build-system)
+    (arguments
+     (list
+      #:test-flags ''("--bootstrap" "vendor/autoload.php" "Tests")))
+    (native-inputs
+     (list php-phpunit-phpunit php-symfony-var-dumper))
+    (synopsis "Export PHP data structures to code")
+    (description
+     "This package allows exporting any serializable PHP data structure to
+plain PHP code.")
+    (home-page "https://symfony.com")
+    (license license:expat)))
+
-- 
2.46.0