guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#67902] [PATCH v5 35/54] gnu: Add php-sebastian-code-unit.


From: Nicolas Graves
Subject: [bug#67902] [PATCH v5 35/54] gnu: Add php-sebastian-code-unit.
Date: Fri, 18 Oct 2024 01:05:58 +0200

* gnu/packages/php-bootstrap.scm (php-sebastian-code-unit): New variable.
---
 gnu/packages/php-bootstrap.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index 37c2e815ef..63ff86349d 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -846,3 +846,27 @@ (define-public php-sebastian-cli-parser
 options.")
     (home-page "https://github.com/sebastianbergmann/cli-parser";)
     (license license:bsd-3)))
+
+(define-public php-sebastian-code-unit
+  (package
+    (name "php-sebastian-code-unit")
+    (version "2.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sebastianbergmann/code-unit";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1k259by6jyhzl5qbnamh7270r2jgiw4bjxiy9hc2j8g9gv7ddp10"))))
+    (build-system composer-build-system)
+    (arguments
+     '(#:test-flags '("--bootstrap" "vendor/autoload.php")))
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (synopsis "PHP collection of value objects for code units")
+    (description "This package contains a collection of value objects that
+represent the PHP code units.")
+    (home-page "https://github.com/sebastianbergmann/code-unit";)
+    (license license:bsd-3)))
-- 
2.46.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]