From patchwork Sun Oct 6 23:59:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 68673 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 6DAE627BBEA; Mon, 7 Oct 2024 01:03:20 +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=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS 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 224A327BBE2 for ; Mon, 7 Oct 2024 01:03:20 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxbDK-0005hp-2p; Sun, 06 Oct 2024 20:03:02 -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 1sxbDI-0005gL-Ql for guix-patches@gnu.org; Sun, 06 Oct 2024 20:03:00 -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 1sxbDG-0001Dm-AG for guix-patches@gnu.org; Sun, 06 Oct 2024 20:02:58 -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=PHk4hYdgsKhfabsXj8+UtKho2yzcDgsIkPT0RVBRw6q5FHPn/GMRyQjWVPkFJem+BjU8YJPNM283ODF8QroLUBcuReKJur/Fn0U/kYv3zoozZAk25DZk4vWVN9hecJprnDdz+lU1iUSx/CA8F00gN57K5Y8mau0aZH2+VwJpXRR0MmbefyHzP8nHtqX3DB7GP/P8w3+Zn6+0haYU4r0b1tnUsEVwVqEBdjhxmMBObQu2hcGc8ZUyIUNyI7Te+EIYoEx/TUm8ycVjzsP6PUbl3s0vklksdeogod1XkECx+asiCxIC2DqK7Al78PwzYbCFgdltQe5o9W1j/zXGsh+rKg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxbDM-0002Md-PD for guix-patches@gnu.org; Sun, 06 Oct 2024 20:03:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67902] [PATCH v3 32/96] 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 00:03:04 +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.17282593558781 (code B ref 67902); Mon, 07 Oct 2024 00:03:04 +0000 Received: (at 67902) by debbugs.gnu.org; 7 Oct 2024 00:02:35 +0000 Received: from localhost ([127.0.0.1]:43087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxbCs-0002HX-U1 for submit@debbugs.gnu.org; Sun, 06 Oct 2024 20:02:35 -0400 Received: from 13.mo584.mail-out.ovh.net ([178.33.251.8]:57277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxbCp-0002Gz-LF for 67902@debbugs.gnu.org; Sun, 06 Oct 2024 20:02:32 -0400 Received: from director8.ghost.mail-out.ovh.net (unknown [10.108.25.169]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 4XMK8c3sdpz1MHh for <67902@debbugs.gnu.org>; Mon, 7 Oct 2024 00:02:24 +0000 (UTC) Received: from ghost-submission-55b549bf7b-tzz7l (unknown [10.108.54.10]) by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 432201FDE9; Mon, 7 Oct 2024 00:02:24 +0000 (UTC) Received: from ngraves.fr ([37.59.142.100]) by ghost-submission-55b549bf7b-tzz7l with ESMTPSA id QpMkOw8lA2dN1wMACPI9LQ (envelope-from ); Mon, 07 Oct 2024 00:02:24 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-100R0036facf05a-d758-45c7-a345-3fc7afc2788b, A12302D5D8CF0E033BA678025A323BF4FAD59D46) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Mon, 7 Oct 2024 01:59:27 +0200 Message-ID: <20241007000046.25625-32-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241007000046.25625-1-ngraves@ngraves.fr> References: <20241007000046.25625-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 2670634582587007714 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvddvkedgfedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddttdenucevlhhushhtvghrufhiiigvpeefnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieejledtvdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekgedpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=sjxZxNJzEkfDrlQdz3lZzKX/xxEb3wva/7sWAFkSGHM=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1728259344; v=1; b=lwgjeBn45TCoak72pMGuNHyWM5lI9jZx5hO6r6pQiahLMrX0lSTI926M7zFigj4AsqpxuSV2 tIhMlDc4wX4+IT64o67FiVHgcA5FXjzU40jxh+NEijrdT3HcfR/JrX7gS2mPKgecVPmd2V1Mt3Y UbT6bd+ZabjS8O+boeSqQnRZaYo9D9qh8DVciHYOTnP52y+5w+mlDpd28ZR5KkcuBqWar4+Ed09 oN/tg+qUhM5pStcd+QzGb/DIqLMTzNDBNfwaO2YuJnIjku8h3UtJ74KGwZ4we9ieh9sYjF3Bdsv elfgAB9A8FqFUcuvTVWzo2LVnWGvH2ngS0m3wIZK/mQWA== 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))) +