GNU bug report logs - #59865
[PATCH] gnu: Add ghc-parsec.

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Tue, 6 Dec 2022 23:01:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Christopher Baines <mail <at> cbaines.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#59865: closed ([PATCH] gnu: Add ghc-parsec.)
Date: Wed, 11 Jan 2023 11:00:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 11 Jan 2023 10:59:42 +0000
with message-id <87o7r5e3pu.fsf <at> cbaines.net>
and subject line Re: [bug#59865] [PATCH] gnu: Add ghc-parsec.
has caused the debbugs.gnu.org bug report #59865,
regarding [PATCH] gnu: Add ghc-parsec.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
59865: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59865
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: jgart <jgart <at> dismail.de>
To: guix-patches <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] gnu: Add ghc-parsec.
Date: Tue,  6 Dec 2022 16:59:46 -0600
* gnu/packages/haskell-xyz.scm (ghc-parsec): New variable.
---
 gnu/packages/haskell-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 2b92600806..7320b72744 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -9215,6 +9215,30 @@ (define-public ghc-parallel
      "This package provides a library for parallel programming.")
     (license license:bsd-3)))
 
+(define-public ghc-parsec
+  (package
+    (name "ghc-parsec")
+    (version "3.1.14.0")
+    (source (origin
+              (method url-fetch)
+              (uri (hackage-uri "parsec" version))
+              (sha256
+               (base32
+                "132waj2cpn892midbhpkfmb74qq83v0zv29v885frlp1gvh94b67"))))
+    (build-system haskell-build-system)
+    (native-inputs (list ghc-hunit ghc-test-framework ghc-test-framework-hunit))
+    (arguments
+     `(#:cabal-revision ("4"
+                         "0p65q054iaz2117a5qk1428dic4sb41acclys9k00zna24ks7iq3")))
+    (home-page "https://github.com/haskell/parsec")
+    (synopsis "Monadic parser combinators")
+    (description "Parsec is designed from scratch as an industrial-strength parser
+library.  It is simple, safe, well documented (on the package homepage),
+has extensive libraries, good error messages, and is fast.  It is defined
+as a monad transformer that can be stacked on arbitrary monads, and it
+is also parametric in the input stream type.")
+    (license license:bsd-3)))
+
 (define-public ghc-parsec-numbers
   (package
     (name "ghc-parsec-numbers")
-- 
2.38.1



[Message part 3 (message/rfc822, inline)]
From: Christopher Baines <mail <at> cbaines.net>
To: jgart <jgart <at> dismail.de>
Cc: 59865-done <at> debbugs.gnu.org, guix-patches <at> gnu.org
Subject: Re: [bug#59865] [PATCH] gnu: Add ghc-parsec.
Date: Wed, 11 Jan 2023 10:59:42 +0000
[Message part 4 (text/plain, inline)]
jgart via Guix-patches via <guix-patches <at> gnu.org> writes:

> * gnu/packages/haskell-xyz.scm (ghc-parsec): New variable.
> ---
>  gnu/packages/haskell-xyz.scm | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)

Thanks, I've pushed this to master as
a8b2decf287498eeb51ef23712c5bd01b60cb18b.

Chris
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 130 days ago.

Previous Next


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