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 ms0.migadu.com with LMTPS id WBpiCDrk4GELDQEAgWs5BA (envelope-from ) for ; Fri, 14 Jan 2022 03:47:22 +0100 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 GB4eATrk4GGaZQAAG6o9tA (envelope-from ) for ; Fri, 14 Jan 2022 03:47:22 +0100 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 C34802754A for ; Fri, 14 Jan 2022 03:47:21 +0100 (CET) Received: from localhost ([::1]:41048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8Ccb-0002vC-0S for larch@yhetil.org; Thu, 13 Jan 2022 21:47:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8CcJ-0002GH-Gg for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42158) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8CcJ-0007lD-7Y for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8CcJ-0000Wl-7V for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50835] [PATCH v2 07/24] gnu: Add ghc-gnuidn. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jan 2022 02:47: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 , rg@raghavgururajan.name Received: via spool by 50835-submit@debbugs.gnu.org id=B50835.16421283681768 (code B ref 50835); Fri, 14 Jan 2022 02:47:03 +0000 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:08 +0000 Received: from localhost ([127.0.0.1]:35011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbP-0000SM-Nt for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:08 -0500 Received: from singpolyma.net ([192.99.233.116]:47763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbI-0000PV-Ih for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:01 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 238AB486170E; Fri, 14 Jan 2022 02:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128359; bh=rhWyywYdp6Xi5PPUpNZkzDH6Qcq3scsRYLZLqqTY3xo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DJgdlSKMcEpTfNqJqDWJR7KwRqY1fSo2xiI3JboVsd7FXp5F7EvGKvbzy+Qv9CXA9 /yPByTpnp+yhEatVgxboRajHc2k3ef4XtHIer6X07btnxPFYsd00yZl402Y9EamC0Z 5hPGVEd8tCQfOnowJk+42cHBnrffNg/YkU/uALMw= From: Stephen Paul Weber Date: Thu, 13 Jan 2022 21:45:29 -0500 Message-Id: <20220114024546.75747-7-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642128441; 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=nauh0hQa5rujDQbyQbQVNXGgjjDzsAUArgs+q7B8eYQ=; b=fAFlzLiuGQ7Tks2irRpSDYthYvy+gEeP8De2Sww2R1CvVBk2qypDHQO6JZ3Ji3vOgvN9KI 88bluJWlupnIijIMzJ3KtEQkNQi/WzDgcenUC+bLiGGwgEpl8etVbqfcjJ4StRZ1g3mK24 KQFA2FBPtfzOOIsuKQZz1huK24Jz1e3996ZQAEH1zaz7U7JKIZZlAeim5GdpJkge11UEia MifQkYk72M3R+FT3HGpHcjKUk35RSz9oBbKMVznX2BNpjyHpARBvIV+7cPPfAzHXqgeGeE 4pp+NU7kUPI2nhIT7+NN7fSKZTGs7mRKnY6hzSdBJo7Dkd0EKjTTRHe2ZZgVpQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642128441; a=rsa-sha256; cv=none; b=XSx08A3Z71s3cw6cVlfNZU86OvT+vutuNhnfMAjAJvidVGzT8380XheT0AqZHxgcMkwbgd srG5AQu5ycSYCNJBdLchMnSzn3dYDHTMFdU255TvYZ/Z/nrpxZmYJI5ayV+6/dn1/mdNUh D2SK6560XmmdJZNhcO1zdZ/cOUnWMmUGbbKdaQ04zP85xXLBNaGD9QHk+NZ83xLuPSJZKO WbS7xbpRMqm2au2LCE8T6nnwahHEl2uA7nr9dOeQyVCCE44mkdam4+mP5f0SpxQIlugS18 tZgRQVMKu6yl37d1+tOGpsaQh5jrD96dD+DSkK7yGCgprfcgQ1a2jQNcprl8Qw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=DJgdlSKM; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); 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: -1.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=DJgdlSKM; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); 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: C34802754A X-Spam-Score: -1.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: QR9MnckGCLiB * gnu/packages/haskell-xyz.scm (ghc-gnuidn): New variable. --- gnu/packages/haskell-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index d8b1218d69..a206e8cabb 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -61,6 +61,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) @@ -16229,3 +16230,38 @@ SAX parser.") (description "This library provides 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"))))))) + (inputs (list libidn)) + (native-inputs + (list + ghc-chell + ghc-c2hs + ghc-chell-quickcheck + ghc-quickcheck + pkg-config)) + (home-page "https://hackage.haskell.org/package/gnuidn") + (synopsis "Bindings for GNU IDN") + (description + "This library provides low-level bindings for using libidn in Haskell.") + (license license:gpl3))) -- 2.30.2