Subject: [PATCH v4 34/98] gnu: Add php-psr-cache.

From: Nicolas Graves <[email-masked]>
Date: Mon, 7 Oct 2024 23:44:02 +0200

* gnu/packages/php-xyz.scm (php-psr-cache): New variable.

Change-Id: I189f4338cb0c0538c239c39743f10440490852e7
---
 gnu/packages/php-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index f081474934..3d3bf7a113 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -876,3 +876,23 @@ (define-public php-psr-log
     (home-page "https://github.com/php-fig/log")
     (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 a common interface for caching PHP libraries.")
+    (home-page "https://github.com/php-fig/cache")
+    (license license:expat)))
+
-- 
2.46.0