Subject: [bug#67902] [PATCH v3 28/96] gnu: Add php-phpunit-php-invoker.

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

* 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 --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)))
+
-- 
2.46.0