diff mbox series

[bug#67902,v4,31/98] gnu: Add php-phpunit-php-token-stream.

Message ID 20241007214530.4420-31-ngraves@ngraves.fr
State New
Headers show
Series [bug#67902,v4,01/98] gnu: Add abnfgen. | expand

Commit Message

Nicolas Graves Oct. 7, 2024, 9:43 p.m. UTC
* gnu/packages/php-xyz.scm (php-phpunit-php-token-stream): New variable.

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

Patch

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 0abc8e4278..fa0184075b 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -800,3 +800,25 @@  (define-public php-phpunit-php-text-template
     (home-page "https://github.com/sebastianbergmann/php-text-template/")
     (license license:bsd-3)))
 
+(define-public php-phpunit-php-token-stream
+  (package
+    (name "php-phpunit-php-token-stream")
+    (version "4.0.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sebastianbergmann/php-token-stream")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "17pyrfxvjld57i43wanfk84d8x327lwmn1avk6hbwapn4bxic0lv"))))
+    (build-system composer-build-system)
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (home-page "https://github.com/sebastianbergmann/php-token-stream")
+    (synopsis "Wrapper around PHP's tokenizer extension")
+    (description "This library provides a wrapper around PHP's tokenizer
+extension.")
+    (license license:bsd-3)))
+