[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67902] [PATCH 31/95] gnu: Add php-predis-predis.
From: |
Nicolas Graves |
Subject: |
[bug#67902] [PATCH 31/95] gnu: Add php-predis-predis. |
Date: |
Tue, 19 Dec 2023 14:57:12 +0100 |
* gnu/packages/php-xyz.scm (php-predis-predis): New variable.
Change-Id: I34fa3edc7978bc5108ef8d71fb0d75ebeb290ffa
---
gnu/packages/php-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index b6fb3e0ac2..09b2d9797e 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -830,3 +830,37 @@ (define-public php-phpunit-php-token-stream
extension.")
(license license:bsd-3)))
+(define-public php-predis-predis
+ (package
+ (name "php-predis-predis")
+ (version "2.2.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/predis/predis")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1y0cn6mmqkdh56jlhqx8fjmkr8nipw20rnwgpc9y9qgk0l0mv4c8"))))
+ (build-system composer-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Launch the redis server.
+ (invoke "redis-server" "--daemonize" "yes")
+ ;; Fix the sole failing test.
+ (substitute* "tests/Predis/Command/Redis/ACL_Test.php"
+ (("User Test has no permissions to run the 'get' command")
+ "This user has no permissions to run the 'get' command")))))))
+ (native-inputs
+ (list redis php-phpunit-phpunit))
+ (synopsis "Redis client for PHP")
+ (description "This package provides a flexible and feature-complete Redis
+client for PHP.")
+ (home-page "https://github.com/predis/predis")
+ (license license:expat)))
+
--
2.41.0
- [bug#67902] [PATCH 23/95] gnu: Add php-phpspec-prophecy., (continued)
- [bug#67902] [PATCH 23/95] gnu: Add php-phpspec-prophecy., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 33/95] gnu: Add php-psr-cache., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 36/95] gnu: Add php-psr-event-dispatcher., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 15/95] gnu: Add php-mockery-mockery., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 27/95] gnu: Add php-phpunit-php-invoker., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 24/95] gnu: Add php-phpstan-phpdoc-parser., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 30/95] gnu: Add php-phpunit-php-token-stream., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 32/95] gnu: Add php-psr-log., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 35/95] gnu: Add php-psr-container., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 34/95] gnu: Add php-psr-cache-1., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 31/95] gnu: Add php-predis-predis.,
Nicolas Graves <=
- [bug#67902] [PATCH 16/95] gnu: Add php-myclabs-deep-copy., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 41/95] gnu: Add php-sebastian-comparator., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 45/95] gnu: Add php-sebastian-exporter., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 56/95] gnu: Add php-symfony-cache-contracts., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 67/95] gnu: Add php-symfony-http-foundation., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 74/95] gnu: Add php-symfony-property-info., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 64/95] gnu: Add php-symfony-expression-language., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 65/95] gnu: Add php-symfony-filesystem., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 38/95] gnu: Add php-sebastian-cli-parser., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 42/95] gnu: Add php-sebastian-complexity., Nicolas Graves, 2023/12/19