From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WIvrMHSlyl8tfQAA0tVLHw (envelope-from ) for ; Fri, 04 Dec 2020 21:09:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gIDhLHSlyl9/KQAA1q6Kng (envelope-from ) for ; Fri, 04 Dec 2020 21:09:08 +0000 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 6865B9403A8 for ; Fri, 4 Dec 2020 21:09:08 +0000 (UTC) Received: from localhost ([::1]:40276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klIKA-0006oX-Nm for larch@yhetil.org; Fri, 04 Dec 2020 16:09:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klGZp-0004pQ-El for guix-patches@gnu.org; Fri, 04 Dec 2020 14:17:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34332) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klGZj-0003yO-HF for guix-patches@gnu.org; Fri, 04 Dec 2020 14:17:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klGZj-00006O-DZ for guix-patches@gnu.org; Fri, 04 Dec 2020 14:17:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44954] [PATCH 4/9] gnu: Add ghc-cryptonite-conduit. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Dec 2020 19:17:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44954 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44954@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 44954-submit@debbugs.gnu.org id=B44954.160710938832730 (code B ref 44954); Fri, 04 Dec 2020 19:17:03 +0000 Received: (at 44954) by debbugs.gnu.org; 4 Dec 2020 19:16:28 +0000 Received: from localhost ([127.0.0.1]:45861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZA-0008Vj-7l for submit@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:28 -0500 Received: from [198.167.222.108] (port=59625 helo=devianza.investici.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZ6-0008Um-RS for 44954@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:25 -0500 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4Cnj9Z25qwz6vXf; Fri, 4 Dec 2020 19:16:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1607109378; bh=CF4TOa86ShJ2Kpqm3kkWlbdq9SYwsoq98fh+fkIwnrg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lhrqh5/13EYHTP6Vi1TmuW9EPQB0zgy7ofIYXWfU+twJkMMfOIy3J+TuO/GzQvbIC riyPSPqBl8pBhYBLECJLAzd4rwI4FHDGkcEESrhq2kM2kQokzftvGSFOuts5BLABNa QI3kkeZE6Pd83KojGXyjEKIyPQ1CT1icYMJNg2E4= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Cnj9Y6x2Hz6vXR; Fri, 4 Dec 2020 19:16:17 +0000 (UTC) From: Giacomo Leidi Date: Fri, 4 Dec 2020 20:15:40 +0100 Message-Id: <20201204191545.24772-4-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201204191545.24772-1-goodoldpaul@autistici.org> References: <20201204191545.24772-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 3.71 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=autistici.org header.s=stigmate header.b=lhrqh5/1; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 6865B9403A8 X-Spam-Score: 3.71 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: edg7TQ0sdYr2 * gnu/packages/haskell-crypto.scm (ghc-cryptonite-conduit): New variable. --- gnu/packages/haskell-crypto.scm | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/haskell-crypto.scm b/gnu/packages/haskell-crypto.scm index c92dec9932..1d56327d29 100644 --- a/gnu/packages/haskell-crypto.scm +++ b/gnu/packages/haskell-crypto.scm @@ -838,3 +838,42 @@ implementation of SSL.") (description "This library contains io-streams routines for secure networking using OpenSSL (by way of HsOpenSSL).") (license license:bsd-3))) + +(define-public ghc-cryptonite-conduit + (package + (name "ghc-cryptonite-conduit") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cryptonite-conduit/cryptonite-conduit-" + version + ".tar.gz")) + (sha256 + (base32 + "1bldcmda4xh52mw1wfrjljv8crhw3al7v7kv1j0vidvr7ymnjpbh")))) + (build-system haskell-build-system) + (inputs + `(("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-memory" ,ghc-memory) + ("ghc-resourcet" ,ghc-resourcet))) + (native-inputs + `(("ghc-conduit-combinators" + ,ghc-conduit-combinators) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) + (arguments + `(#:cabal-revision + ("1" + "1hh2nzfz4qpxgivfilgk4ll416lph8b2fdkzpzrmqfjglivydfmz"))) + (home-page + "https://github.com/haskell-crypto/cryptonite-conduit") + (synopsis "Cryptonite bridge for conduit") + (description + "This package provides a conduit version for hash and hmac.") + (license license:bsd-3))) -- 2.29.2