diff mbox series

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

Message ID 20241007214530.4420-53-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-type): New variable.

Change-Id: I561f5887ffb45acc63fc5a8a523d3766b31150b4
---
 gnu/packages/php-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
diff mbox series

Patch

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