diff mbox series

[bug#67902,v3,89/96] gnu: Add php-symfony-yaml.

Message ID 20241007000046.25625-89-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-yaml): New variable.

Change-Id: I798f2192136eaf4c08ff2fd02c07fe618b1f5b12
---
 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 59affa7128..9b3f052ba0 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -2379,3 +2379,31 @@  (define-public php-symfony-var-exporter
     (home-page "https://symfony.com")
     (license license:expat)))
 
+(define-public php-symfony-yaml
+  (package
+    (name "php-symfony-yaml")
+    (version "6.3.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/symfony/yaml")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1i1wji066qi227w88jl2w4s7sddc7m8lji9japs7bkil3scqm6ia"))))
+    (build-system composer-build-system)
+    (inputs
+     (list php-symfony-deprecation-contracts php-symfony-polyfill-ctype))
+    (native-inputs
+     (list php-phpunit-phpunit
+           (package/inherit php-symfony-console
+             (arguments '(#:tests? #f))
+             (native-inputs '()))
+           php-symfony-phpunit-bridge))
+    (synopsis "Load and dump YAML files")
+    (description "This package provides a PHP component that loads and dumps
+YAML files.")
+    (home-page "https://symfony.com")
+    (license license:expat)))
+