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 ms0.migadu.com with LMTPS id kKofLUsoUWHMDQAAgWs5BA (envelope-from ) for ; Mon, 27 Sep 2021 04:11:23 +0200 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 VNi8KEsoUWFyLAAA1q6Kng (envelope-from ) for ; Mon, 27 Sep 2021 02:11:23 +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 5D74332F15 for ; Mon, 27 Sep 2021 04:11:23 +0200 (CEST) Received: from localhost ([::1]:34040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUg70-0003n0-J2 for larch@yhetil.org; Sun, 26 Sep 2021 22:11:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUg6i-0003ip-3B for guix-patches@gnu.org; Sun, 26 Sep 2021 22:11:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55896) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUg6h-0000Wq-QU for guix-patches@gnu.org; Sun, 26 Sep 2021 22:11:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUg6h-0002BT-Ku for guix-patches@gnu.org; Sun, 26 Sep 2021 22:11:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50835] [PATCH 7/8] gnu: Add ghc-gnuidn. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Sep 2021 02:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50835 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50835@debbugs.gnu.org Cc: Stephen Paul Weber Received: via spool by 50835-submit@debbugs.gnu.org id=B50835.16327086478313 (code B ref 50835); Mon, 27 Sep 2021 02:11:03 +0000 Received: (at 50835) by debbugs.gnu.org; 27 Sep 2021 02:10:47 +0000 Received: from localhost ([127.0.0.1]:39200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6R-00029v-8r for submit@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:47 -0400 Received: from singpolyma.net ([192.99.233.116]:36913) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6I-00028d-0L for 50835@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:39 -0400 Received: by singpolyma.net (Postfix, from userid 1000) id AAB8F4861691; Mon, 27 Sep 2021 02:10:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1632708637; bh=Hzsl2IJOT5iuj7RYu3Waq7A/m3BA/PvgGE6ETQYMrIA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fVCZ8UniCGdRB3kfKw4G9+6QAiNbaSB6CE2EJwhJ4dAbkaK1TIy7iaCh3EIOsGWgh gqojqU6aIpRDwz7kyXztyyennuURd0jPpdHx9sXaUVhBBLTKlbawp9qn79A75A/HD5 MUuy0LUi5FRdtGo8GiI0nWcFlKsg3ARJ2doFUbB4= From: Stephen Paul Weber Date: Sun, 26 Sep 2021 21:10:32 -0500 Message-Id: <20210927021033.17700-7-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210927021033.17700-1-singpolyma@singpolyma.net> References: <20210927021033.17700-1-singpolyma@singpolyma.net> 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632708683; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=sznK0OmGbDwOy89CffdjSDWaXjczs4TadZPbAzfgXq0=; b=P/jz5Wpru4AzokcPvIDvM2falwSc5XRj6PP4wCwTDQA+ggSlHKahmYeRz9W6VWi8pBufdP X7pRvGQFqWxssBLhoCT6ULRh1lB2ruWq4SHT0D5l5pIKqboSxY8COeh2yAbok2yLex7dxx JuLFQqMKjRcP1YxGLzXpzJTcZukPh4S0Lq3wqFbWG90CSsnBhkWNe5ABbx76vhht4EByus Wx1U543189bSTUioQ600P5vE2546ZQXr7G/kfKuAeD5DGANaTCkLpZlQuITmOOT3qUh3lr pMExIJNeqgHuqBUC5kPGcJ7W9OGpUNzdyZd99fg0FNxKi2PCqQL29Bv2uSPc/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632708683; a=rsa-sha256; cv=none; b=rbgVXdP0/Ef1VxgjYg+YoaCrGuTRI/8Alt6zI1xEOWxO4FvBfmwjDLljWlVu38OaEUBRQy GDFoJlpNE4B5jlFFasrTDVckCRfYb5gqjvfvKLsKcODACJt7bhoudH8SIRjRDL0zyy43UI QdsdxlzWEcrYLr0RWNS5nuSsvzdlqLQiEwd7MYjjV1iFcyBqaBz28/0BvceT55IQTvQGTb NW9kydK8YfYmKmJDyRy/0gvjiFpsy3A/kVha7ZfbJ8yjJx4JGtIvsxg39JabMLJX/iuQSS RD3IOcpSXylJxHY9rBL7ZwM+moVPgVNI4s97SN0+Jjd0gcnhKCJgsXuPRT1+eQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=fVCZ8Uni; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=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-Spam-Score: 3.71 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=fVCZ8Uni; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=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: 5D74332F15 X-Spam-Score: 3.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: D0+p+U/VJK4H * gnu/packages/haskell-xyz.scm (ghc-gnuidn): New variable. --- gnu/packages/haskell-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index bc2f94b6ac..44ab7072c9 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -60,6 +60,7 @@ #:use-module (gnu packages haskell-crypto) #:use-module (gnu packages haskell-web) #:use-module (gnu packages libffi) + #:use-module (gnu packages libidn) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages lua) @@ -15906,3 +15907,37 @@ than the standard TCP connection.") (description "Low-level bindings for using gnutls from Haskell.") (license license:gpl3))) + +(define-public ghc-gnuidn + (package + (name "ghc-gnuidn") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/gnuidn/gnuidn-" + version + ".tar.gz")) + (sha256 + (base32 "0vxrcp9xz5gsvx60k12991zn5c9nk3fgg0yw7dixbsjcfqgnnd31")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'less-strict-dependencies + (lambda _ + (substitute* "gnuidn.cabal" + (("chell >= 0.4 && < 0.5") "chell <0.6")) + #t))))) + (inputs `(("libidn" ,libidn))) + (native-inputs + `(("ghc-chell" ,ghc-chell) + ("ghc-c2hs" ,ghc-c2hs) + ("ghc-chell-quickcheck" ,ghc-chell-quickcheck) + ("ghc-quickcheck" ,ghc-quickcheck) + ("pkg-config" ,pkg-config))) + (home-page "https://hackage.haskell.org/package/gnuidn") + (synopsis "Bindings for GNU IDN") + (description "Low-level bindings for using libidn in Haskell.") + (license license:gpl3))) -- 2.20.1