diff mbox series

[bug#67902,v4,57/98] gnu: Add php-symfony-cache-contracts.

Message ID 20241007214530.4420-57-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-symfony-cache-contracts): New variable.

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

Patch

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 2a03fd6ee4..764b643248 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -1435,3 +1435,25 @@  (define-public php-cache-integration-tests
     (home-page "https://github.com/php-cache/integration-tests")
     (license license:expat)))
 
+(define-public php-symfony-cache-contracts
+  (package
+    (name "php-symfony-cache-contracts")
+    (version "3.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/symfony/cache-contracts")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1pjdcm7zwvhf0dcnb7h1c65zc9xpj551dlljag4nliq7i23ypj5y"))))
+    (build-system composer-build-system)
+    (inputs
+     (list php-psr-cache))
+    (synopsis "PHP caching abtractions")
+    (description "This package provides PHP generic abstractions related to
+caching.")
+    (home-page "https://symfony.com")
+    (license license:expat)))
+