Subject: [PATCH v5 30/54] gnu: Add php-psr-cache.

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

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

diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index 8204377326..71b777cf02 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -746,3 +746,24 @@ (define-public php-psr-log
 libraries, as defined by @url{https://www.php-fig.org/psr/psr-3/,PSR-3}.")
     (home-page "https://www.php-fig.org/psr/psr-3/")
     (license license:expat)))
+
+(define-public php-psr-cache
+  (package
+    (name "php-psr-cache")
+    (version "3.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/php-fig/cache")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "17z58lcndi97s2lxivv9pcr9yqvrzvrhinwvr2xh4g310wc6pcal"))))
+    (build-system composer-build-system)
+    (synopsis "Cache libraries in PHP")
+    (description
+     "This package provides the common interface for caching PHP libraries, as
+defined by @url{https://www.php-fig.org/psr/psr-6/,PSR-6}.")
+    (home-page "https://www.php-fig.org/psr/psr-6/")
+    (license license:expat)))
-- 
2.46.0