Subject: bug#44599: closed (Re: [bug#44599] [PATCH] gnu: Add emacs-parsec.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 15 Nov 2020 21:27:02 +0000

Your bug report

#44599: [PATCH] gnu: Add emacs-parsec.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
44599: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44599
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#44599] [PATCH] gnu: Add emacs-parsec.
From: Nicolas Goaziou <[email-masked]>
To: Adam Kandur <[email-masked]>
Cc: [email-masked]
Date: Sun, 15 Nov 2020 22:26:39 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Adam Kandur <[email-masked]> writes:

> Subject: [PATCH] gnu: Add emacs-parsec.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add emacs-parsec.
From: Adam Kandur <[email-masked]>
To: Guix Patches <[email-masked]>
Date: Thu, 12 Nov 2020 23:14:49 +0100 (CET)
List-Id: <debbugs-submit.debbugs.gnu.org>

>From bd90a0760ac850adc3f06e6ef12ef5ca991115f2 Mon Sep 17 00:00:00 2001
From: Adam <[email-masked]>
Date: Fri, 13 Nov 2020 01:12:53 +0300
Subject: [PATCH] gnu: Add emacs-parsec.

* gnu/packages/emacs-xyz.scm (emacs-parsec): New variable.
---
 gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2704292..ec3d67b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -23946,6 +23946,31 @@ It supports several input and output formats, all powered by the
 same shift-reduce parser function.")
     (license license:gpl3+)))
 
+(define-public emacs-parsec
+  (let ((revision "0")
+        (commit "2cbbbc2254aa7bcaa4fb5e07c8c1bf2f381dba26"))
+    ;; no taged branch
+    (package
+      (name "emacs-parsec")
+      (build-system emacs-build-system)
+      (version (git-version "0.1.3" revision commit))
+      (source
+       (origin
+	 (method git-fetch)
+	 (uri (git-reference
+	       (url "https://github.com/cute-jumper/parsec.el")
+	       (commit commit)))
+	 (file-name (git-file-name name version))
+	 (sha256
+          (base32 "1g1s8s45g3kkbi3h7w0pmadmzdswb64mkdvdpg2lihg341kx37gm"))))
+      (home-page "https://github.com/cute-jumper/parsec.el")
+      (synopsis "A parser combinator library for Emacs Lisp, similar to Haskell's Parsec library.")
+      (description "This library, however, contains most of the parser combinators in Text.Parsec.Combinator, 
+which should be enough in most use cases. Of course more combinators can be added if necessary! 
+Most of the parser combinators have the same behavior as their Haskell counterparts. 
+@code{parsec} also comes with a simple error handling mechanism so that it can display an error message showing how the parser fails.")
+      (license license:gpl3))))
+
 (define-public emacs-hide-mode-line
   (package
     (name "emacs-hide-mode-line")
-- 
2.28.0