From patchwork Tue Oct 11 09:19:49 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: 43318 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 CD71C27BBEA; Tue, 11 Oct 2022 10:42:31 +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 8B3BA27BBE9 for ; Tue, 11 Oct 2022 10:42:31 +0100 (BST) Received: from localhost ([::1]:41026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiBmQ-00037x-FZ for patchwork@mira.cbaines.net; Tue, 11 Oct 2022 05:42:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiBRf-000456-BD for guix-patches@gnu.org; Tue, 11 Oct 2022 05:21:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51828) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiBRe-000757-LG for guix-patches@gnu.org; Tue, 11 Oct 2022 05:21:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiBRe-0002Lq-Gg for guix-patches@gnu.org; Tue, 11 Oct 2022 05:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58432] [PATCH] gnu: Add hiredis Resent-From: Thomas Albers Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 11 Oct 2022 09:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58432 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58432@debbugs.gnu.org Cc: Thomas Albers X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16654800559012 (code B ref -1); Tue, 11 Oct 2022 09:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Oct 2022 09:20:55 +0000 Received: from localhost ([127.0.0.1]:50906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiBRX-0002LI-0m for submit@debbugs.gnu.org; Tue, 11 Oct 2022 05:20:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:42884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiBRV-0002L8-48 for submit@debbugs.gnu.org; Tue, 11 Oct 2022 05:20:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiBRU-00040e-Qm for guix-patches@gnu.org; Tue, 11 Oct 2022 05:20:52 -0400 Received: from gamma.thomaslabs.org ([38.242.253.186]:55658) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiBRS-0006xf-5H for guix-patches@gnu.org; Tue, 11 Oct 2022 05:20:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; t=1665480045; bh=TlPrv3mZP9TeIuRgK4EYcu4RUsbxQbhD50Eyp91pK0w=; h=date:subject:cc:to: from; d=thomaslabs.org; b=EnazsfI9eOW8fn+hbvIp74WmSpiJW856Ac2jp8Wm1bTl 34/smjPJ0O/80KoXkJbdwYqHJs2b5Nyzm97NFJIvY8vQTM9yYp/s/ccWoR4h0L4kmUJE66 w4FQrG2l74kX8vSqugMiXR994D0sp0cYzogM4+dJUcxJSrr8f9ih4KO6xCZRLubFktKjRq D/7MyA6i5fKdqO4ib5aJpNHvaG5GtfoeC+/ivwD+wUsRhSWkmT23SM/0+B88gdI8RRSzca kUpFqkXOUfYYeM0G1hfIyjGEwyT3RcA1sXNrLtLYZG9mMhgS1lY+CdH5y/21X1ylDA9FhW sO7ff6e1dXYDouu0Cw== Received: from alpha.fritz.box (ip4d176202.dynamic.kabel-deutschland.de [77.23.98.2]) by gamma.thomaslabs.org (OpenSMTPD) with ESMTPSA id 86a4ed65 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 11 Oct 2022 09:20:45 +0000 (UTC) Date: Tue, 11 Oct 2022 11:19:49 +0200 Message-Id: <20221011091949.9962-1-thomas@thomaslabs.org> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Received-SPF: pass client-ip=38.242.253.186; envelope-from=thomas@thomaslabs.org; helo=gamma.thomaslabs.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) -- 2.37.3 diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index cf07832df7..b372423a77 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. ;;; @@ -2515,6 +2516,29 @@ (define-public ruby-redis (home-page "https://github.com/redis/redis-rb") (license license:expat))) +(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 "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 go-github-com-cupcake-rdb (package (name "go-github-com-cupcake-rdb")