From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EMzOIok6RWMkBAAAbAwnHQ (envelope-from ) for ; Tue, 11 Oct 2022 11:42:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uGQ0Iok6RWPmFAEAG6o9tA (envelope-from ) for ; Tue, 11 Oct 2022 11:42:33 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0C76539AFA for ; Tue, 11 Oct 2022 11:42:33 +0200 (CEST) Received: from localhost ([::1]:41026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiBmS-00037x-6y for larch@yhetil.org; Tue, 11 Oct 2022 05:42:32 -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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Thomas Albers X-ACL-Warn: , Thomas Albers via Guix-patches From: Thomas Albers via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665481353; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=oAW6T53H6vgyr9mfgxv6is2vO8EdSD71Lvf1W5FcGN8=; b=pDtHR5yRG8TX1ZCF8XtA+/iKOeu1ju44y2On17S2eQc/fSmKdyQ7rZsiyYgW/I9G2v7sy5 5q3zmWMri824uzJ5EzRBsk4HKGWSvQutcuOF+mdEBCFRUBYYmXh0+T+ofqdfDycSKVmMSS B98hBe6xdihvURmQSjkSHgNcuAB5pz0380oc0zFC66rP8x2/CUp+DbsdHSpzyih1rX7IAb Y56TC1lNt2iwsicCwQ+yU/AWeXVLpI5Z0JQB74pMWfWA/QtELO/RMBj7RHPDS9nGLBlxbe IgHpoK7GBujMw954kqTQjeEEqS/zw5z/o1jciyTxYtYe4old2Nqgl2h/VoJWOQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665481353; a=rsa-sha256; cv=none; b=oOOMNvVV5m4gwHI2NkK8o+eLm/Y9ONv6k/Bl/cT9oIu50cSBtFxzW0AZII+/wvKn+iapUD IkSJ+BlO2veAcmL4iY2+x/SHfRaCa/Cxx9LHVolthoxXvOIQFwiIWNsk8V7S+kzF3E7xOg cB83LN77xcmUGFvi7RsEX3hOn4gjyVFUUmezYyhPvjRURaRoI0wtz9UWeAtCZz6xrAwhTO AWg7oKRHsfONeALp6tG0snDN+BtthFKi3G7698iMPP/SBGJyjITKBrD4oOsvAYdLkCGJWA 8wEaEnRYv/ZBTpNobfnWl0hI476xmtd8L4Ztw8ua2vNrkcaaT1pZg2kPR1fVnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=thomaslabs.org header.s=default header.b=EnazsfI9; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=thomaslabs.org header.s=default header.b=EnazsfI9; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0C76539AFA X-Spam-Score: -3.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: HDVN8g5arIRL * gnu/packages/databases.scm (hiredis): New variable. --- gnu/packages/databases.scm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) 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") -- 2.37.3