Subject: [PATCH v4 93/98] gnu: Add php-theseer-tokenizer.

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

* gnu/packages/php-xyz.scm (php-theseer-tokenizer): New variable.

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

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index f09d05da59..6f10eb976e 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -2506,3 +2506,25 @@ (define-public php-doctrine-dbal
     (home-page "https://www.doctrine-project.org/projects/dbal")
     (license license:expat)))
 
+(define-public php-theseer-tokenizer
+  (package
+    (name "php-theseer-tokenizer")
+    (version "1.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/theseer/tokenizer")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "071bbsxd05rvl41shv7zn86d4f55cd7cjisk9gf0chxk0542sad7"))))
+    (build-system composer-build-system)
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (synopsis "Convert PHP to XML")
+    (description "This package provides a small library for converting tokenized
+PHP source code into XML and potentially other formats.")
+    (home-page "https://github.com/theseer/tokenizer")
+    (license license:bsd-3)))
+
-- 
2.46.0