Subject: [bug#67902] [PATCH v5 40/54] gnu: Add php-sebastian-environment.

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

* gnu/packages/php-bootstrap.scm (php-sebastian-environment): 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 e0b2f8eda5..3e28f6fd4a 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -961,3 +961,25 @@ (define-public php-sebastian-diff
     (description "This package contains a PHP implementation of a diff function.")
     (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