diff mbox series

[bug#67902,v3,49/96] gnu: Add php-sebastian-object-enumerator.

Message ID 20241007000046.25625-49-ngraves@ngraves.fr
State New
Headers show
Series [bug#67902,v3,01/96] gnu: Add abnfgen. | expand

Commit Message

Nicolas Graves Oct. 6, 2024, 11:59 p.m. UTC
* gnu/packages/php-xyz.scm (php-sebastian-object-enumerator): New variable.

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

Patch

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index d474d2b0cf..3974795d1f 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -1210,3 +1210,27 @@  (define-public php-sebastian-lines-of-code
     (home-page "https://github.com/sebastianbergmann/lines-of-code")
     (license license:bsd-3)))
 
+(define-public php-sebastian-object-enumerator
+  (package
+    (name "php-sebastian-object-enumerator")
+    (version "4.0.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sebastianbergmann/object-enumerator")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1f3zghb32g2mrh2abkasi79y6cq1aisp2dam5hnv0y76sddkrsd6"))))
+    (build-system composer-build-system)
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (inputs
+     (list php-sebastian-recursion-context php-sebastian-object-reflector))
+    (synopsis "Enumerate PHP objects")
+    (description "This package allows PHP programs to traverse array structures
+and object graphs to enumerate all referenced objects.")
+    (home-page "https://github.com/sebastianbergmann/object-enumerator/")
+    (license license:bsd-3)))
+