From patchwork Tue Oct 11 13:08:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Albers Raviola X-Patchwork-Id: 43323 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 C2A5B27BBEA; Tue, 11 Oct 2022 14:32:06 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 6F93627BBE9 for ; Tue, 11 Oct 2022 14:32:06 +0100 (BST) Received: from localhost ([::1]:45726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiFMb-0008Cz-HU for patchwork@mira.cbaines.net; Tue, 11 Oct 2022 09:32:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiF0I-0004MD-TR for guix-patches@gnu.org; Tue, 11 Oct 2022 09:09:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52265) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiF0I-00025i-Jv for guix-patches@gnu.org; Tue, 11 Oct 2022 09:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiF0I-0002AV-4S for guix-patches@gnu.org; Tue, 11 Oct 2022 09:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58432] [PATCH] gnu: Add hiredis References: <20221011091949.9962-1-thomas@thomaslabs.org> In-Reply-To: <20221011091949.9962-1-thomas@thomaslabs.org> Resent-From: Thomas Albers Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 11 Oct 2022 13:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58432 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58432@debbugs.gnu.org Cc: Thomas Albers Received: via spool by 58432-submit@debbugs.gnu.org id=B58432.16654937408327 (code B ref 58432); Tue, 11 Oct 2022 13:09:02 +0000 Received: (at 58432) by debbugs.gnu.org; 11 Oct 2022 13:09:00 +0000 Received: from localhost ([127.0.0.1]:51343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiF0F-0002AF-UT for submit@debbugs.gnu.org; Tue, 11 Oct 2022 09:09:00 -0400 Received: from gamma.thomaslabs.org ([38.242.253.186]:48584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiF0C-0002A4-Mp for 58432@debbugs.gnu.org; Tue, 11 Oct 2022 09:08:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; t=1665493734; bh=wvY+50ZDg6DxbRMuNHcOPCgj6jyI0qd2j8Xx/s8cGkc=; h=date:subject:cc:to: from; d=thomaslabs.org; b=GBGIqVZbN81tcHg7x3mLNrQojXPPj1fy6ivywNfxoOEU ETK2kJbSkIAiAx2tkLkaypUa3W1Gjovu5NpxqG2aRD/Lo7e6p8JN2aKZYqP0P70c2W/hMd nwsBKJsbMza8UVjLjJzrsAVq+xJG+IFNPudX30H4IENqH0EpKxOMKSh+9dgtDQAHsWPI6h HwWRLj2jfrVVvZXNobtdgFgulvhPC6+s26KahvDH4UAmveYLkw3ocWwweffgvCVN8vnrH/ 0QptlZ+9perq12xF1mljgBKAJhR5fthXEDmSSoSpB3CXXhb612EoU3Kgh7TFipJw4jeiAA NPUWf33j9jmev5VqAw== Received: from alpha.fritz.box ( [77.23.98.2]) by gamma.thomaslabs.org (OpenSMTPD) with ESMTPSA id 18239457 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 11 Oct 2022 13:08:54 +0000 (UTC) Date: Tue, 11 Oct 2022 15:08:34 +0200 Message-Id: <20221011130834.1592-1-thomas@thomaslabs.org> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Thomas Albers X-ACL-Warn: , Thomas Albers via Guix-patches X-Patchwork-Original-From: Thomas Albers via Guix-patches via From: Thomas Albers Raviola X-getmail-retrieved-from-mailbox: Patches * gnu/packages/databases.scm (hiredis): New variable. --- gnu/packages/databases.scm | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) -- 2.37.3 diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index cf07832df7..8523c084e4 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -58,6 +58,7 @@ ;;; Copyright © 2022 Zhu Zihao ;;; Copyright © 2021 Brice Waegeneire ;;; Copyright © 2022 muradm +;;; Copyright © 2022 Thomas Albers Raviola ;;; ;;; This file is part of GNU Guix. ;;; @@ -2494,6 +2495,31 @@ (define-public redis (home-page "https://redis.io/") (license license:bsd-3))) +(define-public hiredis + (package + (name "hiredis") + (version "1.0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/redis/hiredis") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0a55zk3qrw9yl27i87h3brg2hskmmzbfda77dhq9a4if7y70xnfb")))) + (build-system cmake-build-system) + (native-inputs + ;; needed for testing + (list redis)) + (synopsis "Minimalistic C client library for the Redis database") + (description "This package provides a library for sending commands and +receiving replies to and from a Redis server. It comes with a synchronous +API, asynchronous API and reply parsing API. Only the binary-safe Redis +protocol is supported.") + (home-page "https://github.com/redis/hiredis") + (license license:bsd-3))) + (define-public ruby-redis (package (name "ruby-redis")