diff mbox series

[bug#67902,v4,28/98] gnu: Add php-phpunit-php-invoker.

Message ID 20241007214530.4420-28-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-invoker): New variable.

Change-Id: I82fa520f510e59ab78b221d2415096cd0597799b
---
 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 46b60ac435..15f30a3877 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -734,3 +734,25 @@  (define-public php-phpunit-php-file-iterator
     (home-page "https://github.com/sebastianbergmann/php-file-iterator/")
     (license license:bsd-3)))
 
+(define-public php-phpunit-php-invoker
+  (package
+    (name "php-phpunit-php-invoker")
+    (version "4.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sebastianbergmann/php-invoker")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "11mnr7k7nxgi2s0fz0f4b947b7prjj5jhbqvx1hm0p9rdn0biggn"))))
+    (build-system composer-build-system)
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (synopsis "PHP library for invoking functions")
+    (description "This package contains a library to invoke callables with a
+timeout.")
+    (home-page "https://github.com/sebastianbergmann/php-invoker/")
+    (license license:bsd-3)))
+