diff mbox series

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

Message ID 20241007214530.4420-45-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:44 p.m. UTC
* 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 mbox series

Patch

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