Subject: [bug#67902] [PATCH v5 52/54] gnu: Add php-theseer-tokenizer.

From: Nicolas Graves <[email-masked]>
Date: Fri, 18 Oct 2024 01:06:15 +0200

* gnu/packages/php-bootstrap.scm (php-theseer-tokenizer): New variable.
---
 gnu/packages/php-bootstrap.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index aface2cf6a..f916f4db71 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -1251,3 +1251,25 @@ (define-public php-symfony-process
 in sub-processes.")
     (home-page "https://symfony.com")
     (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