From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4O4nCTwoUWHoDAAAgWs5BA (envelope-from ) for ; Mon, 27 Sep 2021 04:11:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yN/aBDwoUWGWCAAAB5/wlQ (envelope-from ) for ; Mon, 27 Sep 2021 02:11: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 93D4032DBF for ; Mon, 27 Sep 2021 04:11:07 +0200 (CEST) Received: from localhost ([::1]:33916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUg6k-0003gP-NL for larch@yhetil.org; Sun, 26 Sep 2021 22:11:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUg6g-0003gC-Ex for guix-patches@gnu.org; Sun, 26 Sep 2021 22:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55892) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUg6g-0000WG-6v for guix-patches@gnu.org; Sun, 26 Sep 2021 22:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUg6g-0002Az-2L for guix-patches@gnu.org; Sun, 26 Sep 2021 22:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50835] [PATCH 2/8] gnu: Add ghc-scanner. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Sep 2021 02:11:02 +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.16327086408276 (code B ref 50835); Mon, 27 Sep 2021 02:11:02 +0000 Received: (at 50835) by debbugs.gnu.org; 27 Sep 2021 02:10:40 +0000 Received: from localhost ([127.0.0.1]:39192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6J-00029K-QV for submit@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:40 -0400 Received: from singpolyma.net ([192.99.233.116]:45215) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6H-00028S-8w for 50835@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:38 -0400 Received: by singpolyma.net (Postfix, from userid 1000) id 18C44486168C; 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=/vUixefJrZRI+qZE6skxZ96F+eS71XllZSizIJJGNR8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EMTtbYJd6SG4quptvMyYx6jCRG4W02lVG5naUi9n6znYN7Hf6weHk2+98exb+lRbV U2umGuUKw7IwXz5HdEwsaC/3qPHcdjp4zPBdvNrO76SCrdNdq+aWxiGWegiwqiXBkr 5J++jcstn+NHk0Qvu7PvLf+Gtpu8QBs6RAjyaoGE= From: Stephen Paul Weber Date: Sun, 26 Sep 2021 21:10:27 -0500 Message-Id: <20210927021033.17700-2-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=1632708667; 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=+IH1ppgyx+A7xQE4BQ36LxHZV4Q69c7rA8ZeHQ89H70=; b=O2/vYmEJLJq/9Wz3QwwiHMZ4fsR3COhk5sjALryZRGELpG9jPzvxV4P+rFvq6UnZPrXx2+ UxOiAEffCvQhaNBoXY1qYbA69XphKLEYL+b3xusg+RzE75GwwP08kISXEoaw+KHdd/5QP8 dAtOJ+crgIbneG/uBwU3egG4djOYkriS9MSyyzVZxtAsjfUtunM4GHXRJpu3ubl/QXcWxc /8mPocQxkoAexj4Fb7XbAlp0Rnns+djRVnbuHCxHWjl4dNVnaRZBYMvch1JP+pQnljLPaE AwPc5M/usfS3hqoDRW0dAagM3pS3NF6gCrmTcnpPjEnnY6JOr2VuJ4RXPPsowg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632708667; a=rsa-sha256; cv=none; b=b+DRBtva5BESprtH3WHD7BzHqanQSuCSGEaqlK6mvjD4SdkjZ5bPXydsqN6vSQAHHBJyXZ Az1AQufCtbveO/c3ifIIHNrhuHv4L6RPPlSK2+Dw03dP+WH3xfmKROaU1suvpnjsbEBY+d chyNxyaG2DpkX2XC6yEnN/9fc2vTy17u9qHgew4Kh8W6vpFBV0cIjtnTPuRp85xBASx3+w oHn4r3Cyjy+C1gzY4lW20uE8ps/rvQmHbP8JyLdJ1e+oVtzV/g4+3WOJdvqatPDS8MDSyd nx4dfBLBAGWD0xRS7nqjc9DH1n27DOKzWZBb9MeHhkU6xRmce3EWqpwCe7lkZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=EMTtbYJd; 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=EMTtbYJd; 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: 93D4032DBF X-Spam-Score: 3.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: meoixdjLlU9C * gnu/packages/haskell-xyz.scm (ghc-scanner): New variable. --- gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index f5ae156d35..a7af298ada 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -15741,3 +15741,28 @@ compression ratios.") patrickmn/go-cache for Go. The cache is a shared mutable HashMap implemented using STM and with support for expiration times.") (license license:bsd-3))) + +(define-public ghc-scanner + (package + (name "ghc-scanner") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/scanner/scanner-" + version + ".tar.gz")) + (sha256 + (base32 "1mhqh94qra08zidqfsq0gxi83cgflqldnk9rr53haynbgmd5y82k")))) + (build-system haskell-build-system) + (inputs `(("ghc-fail" ,ghc-fail))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("pkg-config" ,pkg-config))) + (home-page "https://github.com/Yuras/scanner") + (synopsis + "Fast non-backtracking incremental combinator parsing for bytestrings") + (description + "Parser combinator library designed to be fast. It doesn't support backtracking.") + (license license:bsd-3))) -- 2.20.1