Subject: [PATCH v4 53/98] gnu: Add php-sebastian-type.

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

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

Change-Id: I561f5887ffb45acc63fc5a8a523d3766b31150b4
---
 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 d40949594c..a8e3afa433 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -1315,3 +1315,25 @@ (define-public php-sebastian-resource-operations
     (home-page "https://github.com/sebastianbergmann/resource-operations")
     (license license:bsd-3)))
 
+(define-public php-sebastian-type
+  (package
+    (name "php-sebastian-type")
+    (version "3.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sebastianbergmann/type")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0pr3r2zdwm7rzfj2g37kbxs69wq5cbmglhrxnrjmbf3d6zsv5b54"))))
+    (build-system composer-build-system)
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (synopsis "PHP type system representation")
+    (description "This package is a collection of value objects that represent
+the types of the PHP type system.")
+    (home-page "https://github.com/sebastianbergmann/type")
+    (license license:bsd-3)))
+
-- 
2.46.0