GNU bug report logs - #50835
[PATCH 0/8] New Haskell packages: cache, redis client, xmpp

Previous Next

Package: guix-patches;

Reported by: Stephen Paul Weber <singpolyma <at> singpolyma.net>

Date: Mon, 27 Sep 2021 02:10:02 UTC

Severity: normal

Tags: patch

Full log


Message #41 received at 50835 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Paul Weber <singpolyma <at> singpolyma.net>
To: 50835 <at> debbugs.gnu.org
Cc: Stephen Paul Weber <singpolyma <at> singpolyma.net>, rg <at> raghavgururajan.name
Subject: [PATCH v2 02/24] gnu: Add ghc-scanner.
Date: Thu, 13 Jan 2022 21:45:24 -0500
* gnu/packages/haskell-xyz.scm (ghc-scanner): New variable.
---
 gnu/packages/haskell-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 8260bb7dc4..9670b50a65 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16057,3 +16057,30 @@ data Dec a
 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 (list ghc-fail))
+    (native-inputs
+      (list
+        ghc-hspec
+        pkg-config))
+    (home-page "https://github.com/Yuras/scanner")
+    (synopsis
+      "Fast non-backtracking incremental combinator parsing for bytestrings")
+    (description
+      "Scanner is a parser combinator library designed to be fast.
+It doesn't support backtracking.")
+    (license license:bsd-3)))
-- 
2.30.2




This bug report was last modified 3 years and 151 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.