From patchwork Mon Jul 22 11:28:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain GARBAGE X-Patchwork-Id: 29480 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 4E06727BBEB; Mon, 22 Jul 2024 12:32:11 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 A6FC727BBE9 for ; Mon, 22 Jul 2024 12:32:09 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVrGp-00081f-NA; Mon, 22 Jul 2024 07:32:00 -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 1sVrG6-0006zo-SH for guix-patches@gnu.org; Mon, 22 Jul 2024 07:31:16 -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 1sVrG1-0007TY-K6 for guix-patches@gnu.org; Mon, 22 Jul 2024 07:31:14 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sVrG4-00070F-Ej for guix-patches@gnu.org; Mon, 22 Jul 2024 07:31:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71938] [PATCH v3 07/25] gnu: Add ghc-crypton-connection. Resent-From: Romain GARBAGE Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Jul 2024 11:31:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71938 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71938@debbugs.gnu.org Cc: rekado@elephly.net, Romain GARBAGE , 44518@debbugs.gnu.org Received: via spool by 71938-submit@debbugs.gnu.org id=B71938.172164786826540 (code B ref 71938); Mon, 22 Jul 2024 11:31:12 +0000 Received: (at 71938) by debbugs.gnu.org; 22 Jul 2024 11:31:08 +0000 Received: from localhost ([127.0.0.1]:56984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVrFz-0006tK-DI for submit@debbugs.gnu.org; Mon, 22 Jul 2024 07:31:07 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:27683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVrFS-0005dc-7V; Mon, 22 Jul 2024 07:30:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=GYC0qD3G9ndLi9cc0+458oS22vmuUZRzqMS7PHdKhKw=; b=oPYAZgudlTBx8x/cKxDjgOzNbw7wpSUhxG7MMMDUYb3lI5nXCZsHCmG/ R8qquuAXhJBzg1cA6IHi5LMfJyETgbCVNmuKrO6mFMuueNJbFkAwAQbsE F9yhtnLv1cpcXvsHOUFKdodhYkXFpuv78vZi5bwG3/MVWeMoAcA5V8Hlj c=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=romain.garbage@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.09,228,1716242400"; d="scan'208";a="92688905" Received: from unknown (HELO guix-A102.bordeaux.inria.fr) ([193.50.110.122]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2024 13:30:18 +0200 From: Romain GARBAGE Date: Mon, 22 Jul 2024 13:28:04 +0200 Message-ID: <20240722113008.9057-8-romain.garbage@inria.fr> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240722113008.9057-1-romain.garbage@inria.fr> References: <20240722113008.9057-1-romain.garbage@inria.fr> 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-web.scm (ghc-crypton-connection): New variable. Change-Id: I37bc263de2aa9f3ce7b06b9a752424a0550bf6d3 --- gnu/packages/haskell-web.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 0aaa609e42..08b2136cb2 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -89,6 +89,35 @@ (define-public ghc-cookie (description "HTTP cookie parsing and rendering library for Haskell.") (license license:expat))) +(define-public ghc-crypton-connection + (package + (name "ghc-crypton-connection") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (hackage-uri "crypton-connection" version)) + (sha256 + (base32 "07lrkv6lwphsyp4797yp8ywnndzd270bk58r8gwyby0hr4xy52r0")))) + (build-system haskell-build-system) + (properties '((upstream-name . "crypton-connection"))) + (inputs (list ghc-basement + ghc-data-default-class + ghc-network + ghc-tls-1.9 + ghc-socks + ghc-crypton-x509 + ghc-crypton-x509-store + ghc-crypton-x509-system + ghc-crypton-x509-validation)) + (home-page "https://github.com/kazu-yamamoto/crypton-connection") + (synopsis "Simple and easy network connections API") + (description + "Simple network library for all your connection need. Features: Really simple to +use, SSL/TLS, SOCKS. This library provides a very simple api to create sockets to a +destination with the choice of SSL/TLS, and SOCKS.") + (license license:bsd-3))) + (define-public ghc-curl (package (name "ghc-curl")