guix-patches
[Top][All Lists]
Advanced

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

[bug#67902] [PATCH v5 05/54] gnu: Add php-doctrine-collections.


From: Nicolas Graves
Subject: [bug#67902] [PATCH v5 05/54] gnu: Add php-doctrine-collections.
Date: Fri, 18 Oct 2024 01:05:28 +0200

* gnu/packages/php-bootstrap.scm (php-doctrine-collections): New variable.
---
 gnu/packages/php-bootstrap.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index 1c9da52a55..e447e83f7a 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -81,3 +81,30 @@ (define-public php-doctrine-annotations
      "This package provides a Docblock PHP Annotations Parser.")
     (home-page "https://www.doctrine-project.org/projects/annotations";)
     (license license:expat)))
+
+(define-public php-doctrine-collections
+  (package
+    (name "php-doctrine-collections")
+    (version "2.1.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/doctrine/collections";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0b384rkxl70bb164373c3y3n72816jkggjm9vg58avb7lqx3dq1i"))))
+    (build-system composer-build-system)
+    (arguments
+     '(#:test-flags '("--bootstrap" "vendor/autoload.php")))
+    (inputs
+     (list php-doctrine-deprecations))
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (synopsis "Additional functionality on top of PHP arrays")
+    (description
+     "This package provides a PHP library that adds additional functionality
+on top of arrays.")
+    (home-page "https://www.doctrine-project.org/projects/collections";)
+    (license license:expat)))
-- 
2.46.0






reply via email to

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