diff mbox series

[bug#67902,v4,38/98] gnu: Add php-psr-simple-cache.

Message ID 20241007214530.4420-38-ngraves@ngraves.fr
State New
Headers show
Series [bug#67902,v4,01/98] gnu: Add abnfgen. | expand

Commit Message

Nicolas Graves Oct. 7, 2024, 9:44 p.m. UTC
* gnu/packages/php-xyz.scm (php-psr-simple-cache): New variable.

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

Patch

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index fbf6251bca..6e55118502 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -952,3 +952,23 @@  (define-public php-psr-event-dispatcher
     (home-page "https://github.com/php-fig/event-dispatcher")
     (license license:expat)))
 
+(define-public php-psr-simple-cache
+  (package
+    (name "php-psr-simple-cache")
+    (version "3.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/php-fig/simple-cache")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0gndf4ygvgbw790hxxvv9d2qpnzdi409m1n9f36jw7fy1cg6gbax"))))
+    (build-system composer-build-system)
+    (synopsis "Simple cache in PHP")
+    (description "This package provides common interfaces in PHP for simple
+caching.")
+    (home-page "https://github.com/php-fig/simple-cache")
+    (license license:expat)))
+