From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GHXKFqfk4GH0EwEAgWs5BA (envelope-from ) for ; Fri, 14 Jan 2022 03:49:11 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EPl9D6fk4GHCwAAAG6o9tA (envelope-from ) for ; Fri, 14 Jan 2022 03:49:11 +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 aspmx2.migadu.com (Postfix) with ESMTPS id CDE7D290E7 for ; Fri, 14 Jan 2022 03:49:10 +0100 (CET) Received: from localhost ([::1]:47290 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8CeL-000755-Uf for larch@yhetil.org; Thu, 13 Jan 2022 21:49:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8CcN-0002R6-Qs for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42169) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8CcN-0007mo-HG for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8CcN-0000Y4-FY for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50835] [PATCH v2 15/24] gnu: Add ghc-hostandport. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jan 2022 02:47:07 +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.16421283711849 (code B ref 50835); Fri, 14 Jan 2022 02:47:07 +0000 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:11 +0000 Received: from localhost ([127.0.0.1]:35033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbT-0000Te-6u for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:11 -0500 Received: from singpolyma.net ([192.99.233.116]:46827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbJ-0000Pz-Tf for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:04 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 6C1CA4861716; Fri, 14 Jan 2022 02:46:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128360; bh=wn4H7IwKWwwiBAenXb1s/MqNG3wPXDffPCXIH0Fl9mc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ET2mk02MO/e4CLUx8Hr6aLN7Tfk9UPkw6LrZfjR2UctgmcHT88957FUJxdm4RgV+H taf/1JUzAG2DMrfmVxwBPFXPs6VFaWfakiGdexjT40EgVV9zSPVFEYojjK6Ubch4Ar kSWVuYwR7/beTOZygRYQFijxeqo25Rwzgv5y2x7A= From: Stephen Paul Weber Date: Thu, 13 Jan 2022 21:45:37 -0500 Message-Id: <20220114024546.75747-15-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=1642128550; 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=1XbDjLDjg52OnK+N4OA62DnaPJrIA+Y8ORa0G2BiXTs=; b=i2NXTsP4ypgyYm9imRLfd44HdmbxXyjIr13QYAJ/rn+WL8rFLkf57xYrJ0rY/NZyhGhV57 qqfSkQLZlIC0jDVmDdNptZ3xtA0+oCYbnWMbf5KzFYQm2oOdEni5EPBYKq4lnKA0riXBoU RedC/fVkg25WSMGGmdxMPgIKB34JYwPzpkfp9XwFWWfpcRva5V2hyDsbI4xrTnQilX9ogn AOOlybinM0659fxbWsGsd0JBlYPIi05K8wHB435sPULuA2YWPTVpm7k9N2QnAgBF+WzKIS tFefToZ8PmOOrrdXMkfQodzdj+mgkaU9dZ5f8oeU6HN1C4oNQuu2FvmA7UftfQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642128550; a=rsa-sha256; cv=none; b=YCYJ161cqz5VDVx6rkzKAPAj2ZksqvwcqdbVaQlSLLlnHbUeixSii6g36fo3+xanjLgF9G gUGzgN7ar9iOoqBKAer8x3MUxcnThqXVN4i0fNpki3a12/BH23S6mRdGAU27wBDA7mllZY BQvCUJNDuEAf4+OLIe/b1UcDL9WchIg1R0RoS8HUsGP7EC9CAsG+Kk5lD6JgowvOE2aGGH lk0A87gaRxS2DZRRWizKHJgf2R6PBz2/sUNQKN1XSTCVGs3uSUMIO/ZW8FhNlFwSXF0JcU +RBzRJVCY7BRhAXYYvjbPEF8UlZvfhSqHx+XJc+7czIILIShyNoXWoUBxwRUHw== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=ET2mk02M; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); spf=pass (aspmx2.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: -0.52 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=ET2mk02M; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); spf=pass (aspmx2.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: CDE7D290E7 X-Spam-Score: -0.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: PwQPndXw1uY3 * gnu/packages/haskell-xyz.scm (ghc-hostandport): New variable. --- gnu/packages/haskell-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index f7a04e2976..c4fd46fcab 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16429,3 +16429,24 @@ GHC event manager timeouts when available (GHC 7.2+, -threaded, non-Windows OS), yielding performance similar to threadDelay and registerDelay. Otherwise, it falls back to forked threads and threadDelay.") (license license:bsd-3))) + +(define-public ghc-hostandport + (package + (name "ghc-hostandport") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (hackage-uri "HostAndPort" version)) + (sha256 + (base32 "1rjv6c7j6fdy6gnn1zr5jnfmiqiamsmjfw9h3bx119giw3sjb9hm")))) + (build-system haskell-build-system) + (native-inputs + (list ghc-hspec ghc-doctest)) + (home-page "https://github.com/bacher09/hostandport") + (synopsis "Parser for host and port pairs like localhost:22") + (description + "HostAndPort is a simple parser for parsing host and port pairs. +Host can be either ipv4, ipv6 or domain name and port are optional. +IPv6 address should be surrounded by square brackets.") + (license license:expat))) -- 2.30.2