Subject: [bug#67902] [PATCH v5 32/54] gnu: Add php-psr-container.

From: Nicolas Graves <[email-masked]>
Date: Fri, 18 Oct 2024 01:05:55 +0200

* gnu/packages/php-bootstrap.scm (php-psr-container): New variable.
---
 gnu/packages/php-bootstrap.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index 2c2be94029..44e883660b 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -782,3 +782,25 @@ (define-public php-psr-cache-1
        (file-name (git-file-name name version))
        (sha256
         (base32 "165nhqrqh7q2rrxz86iywv5nkyr0ybxfbnmcxk54bsy6yhkhvg3s"))))))
+
+(define-public php-psr-container
+  (package
+    (name "php-psr-container")
+    (version "2.0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/php-fig/container")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "02438i87fa344xm6iv2wsk5pmyjkacdiaa085a4zggw1ivwch8dc"))))
+    (build-system composer-build-system)
+    (synopsis "PHP container interfaces")
+    (description "This package provides all ontainer-related interfaces, as
+defined by @url{https://php-fig.org/psr/psr-11/,PSR-11}.  This is not a
+Container implementation of its own.  It is merely abstractions that describe
+the components of a Dependency Injection Container.")
+    (home-page "https://www.php-fig.org/psr/psr-11/")
+    (license license:expat)))
-- 
2.46.0