From patchwork Mon Oct 7 21:44:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 68787 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3046327BBE2; Mon, 7 Oct 2024 22:47:50 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8DC0D27BBEA for ; Mon, 7 Oct 2024 22:47:49 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxvZU-0002af-UM; Mon, 07 Oct 2024 17:47:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sxvZP-0002SK-9z for guix-patches@gnu.org; Mon, 07 Oct 2024 17:47:11 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sxvZP-0004Tg-1W for guix-patches@gnu.org; Mon, 07 Oct 2024 17:47:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=sjxZxNJzEkfDrlQdz3lZzKX/xxEb3wva/7sWAFkSGHM=; b=e6cyxnPIa0zBJC33X3fMOOSLMUWh7ZvHOxtm34DdU8yM9M+/kdMLUH0cvR2hMWmQ3tQoquBblVGs5M9NcvUOLJDu64Yl1pzoaZeBfeOB0o8wqMFX8qyafTZci9HrBgvLZBdt2Rw0sEZADT5xeH6uZpvVCqlfWC8n4OxVk71pJQzIN4XVU/jq3xBMjep1ZlGc9ClmtaQWXm8BqV3jteK9kcRlPbOm9GImWOcA7n6VnYTe1+5C2E6BHvNoYlsxR54yDnFTsvxGzLjyX72tLbjZ7pGTzmswzejnX6usMhLrLDoorGdFHu8VsZmtMgCyaSw0+r5ktnuFR0SY+AeE4T5qtQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxvZW-0006fZ-No for guix-patches@gnu.org; Mon, 07 Oct 2024 17:47:18 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67902] [PATCH v4 32/98] gnu: Add php-predis-predis. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Oct 2024 21:47:18 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67902 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67902@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 67902-submit@debbugs.gnu.org id=B67902.172833762525376 (code B ref 67902); Mon, 07 Oct 2024 21:47:18 +0000 Received: (at 67902) by debbugs.gnu.org; 7 Oct 2024 21:47:05 +0000 Received: from localhost ([127.0.0.1]:48780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxvZJ-0006b0-1k for submit@debbugs.gnu.org; Mon, 07 Oct 2024 17:47:05 -0400 Received: from 1.mo582.mail-out.ovh.net ([46.105.56.136]:34353) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxvZG-0006Zs-F6 for 67902@debbugs.gnu.org; Mon, 07 Oct 2024 17:47:03 -0400 Received: from director3.ghost.mail-out.ovh.net (unknown [10.109.176.72]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 4XMt5n47vrz1QDH for <67902@debbugs.gnu.org>; Mon, 7 Oct 2024 21:46:53 +0000 (UTC) Received: from ghost-submission-55b549bf7b-zjrjn (unknown [10.108.42.124]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 5DB431FD5B; Mon, 7 Oct 2024 21:46:53 +0000 (UTC) Received: from ngraves.fr ([37.59.142.95]) by ghost-submission-55b549bf7b-zjrjn with ESMTPSA id CaaWBM1WBGc0mQYAF7ZGSw (envelope-from ); Mon, 07 Oct 2024 21:46:53 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-95G00112b0d357-8a4f-432f-8316-05b70a72d014, A12302D5D8CF0E033BA678025A323BF4FAD59D46) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Mon, 7 Oct 2024 23:44:00 +0200 Message-ID: <20241007214530.4420-32-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241007214530.4420-1-ngraves@ngraves.fr> References: <20241007214530.4420-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 6254655461449458402 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdeftddgtdduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddrleehnecuvehluhhsthgvrhfuihiivgepgeenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeeijeeltddvseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedvpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=sjxZxNJzEkfDrlQdz3lZzKX/xxEb3wva/7sWAFkSGHM=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1728337613; v=1; b=BxmpvtrfZj/nQqLNyApNHwAGz8XUi9NvqIx+UD3zmJogXxS8JIDHmx5ztosXZBZFc0bkiDp4 vhl/BbCnTZYvBxJCxEcDbUzWUa0oaIbzMq0rOlN9Lsk9m4OBGujJ+fKeYs+C82HUuF2b0GvJkYq v2Kb8YK7ZXK3+N40SjSYYsNFF4RogD5OUOasenhNo2FKhfUF4d6gjSTgeC9jYDTVcj2QgG1j84p OwlQSoODb2fFNiD/Qgand+bqaZRDUG3F79ROhfUVh5t3dsK1jzuZd2ZYJ/CFwMNPCiNSPDra7Ub H/yDVWETVblpj4SEoZIML6Hcr4tuKTv0qOyyvd34sxmyQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 fa0184075b..fcd980ea68 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -822,3 +822,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))) +