Subject: [bug#67902] [PATCH v4 45/98] gnu: Add php-sebastian-environment.

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

* gnu/packages/php-xyz.scm (php-sebastian-environment): New variable.

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

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index b66b4d6930..1cadf732e8 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -1109,3 +1109,24 @@ (define-public php-sebastian-diff
     (home-page "https://github.com/sebastianbergmann/diff")
     (license license:bsd-3)))
 
+(define-public php-sebastian-environment
+  (package
+    (name "php-sebastian-environment")
+    (version "5.1.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sebastianbergmann/environment")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0zfgwzvk1nrib9k5iz8x51g70222qw7kjyh34gp6zaqjsj6dpbiw"))))
+    (build-system composer-build-system)
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (synopsis "Handle HHVM and PHP environments")
+    (description "This package provides functionality to handle HHVM/PHP environments")
+    (home-page "https://github.com/sebastianbergmann/environment")
+    (license license:bsd-3)))
+
-- 
2.46.0