guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

115/151: gnu: Add ghc-haskell-src-exts.


From: Paul
Subject: 115/151: gnu: Add ghc-haskell-src-exts.
Date: Mon, 19 Oct 2015 08:58:37 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit 1e4facdcbe73ffebea98bd5d525c81e8e252b73a
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 15:54:40 2015 +0200

    gnu: Add ghc-haskell-src-exts.
    
    * gnu/packages/haskell.scm (ghc-haskell-src-exts): New variable.
---
 gnu/packages/haskell.scm |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index d90fdf6..b4e3d6c 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -464,6 +464,43 @@ in BNF, Happy generates Haskell code to parse the grammar. 
 Happy works in a
 similar way to the yacc tool for C.")
     (license bsd-3)))
 
+(define-public ghc-haskell-src-exts
+  (package
+    (name "ghc-haskell-src-exts")
+    (version "1.16.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             
"http://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1h8gjw5g92rvvzadqzpscg73x7ajvs1wlphrh27afim3scdd8frz"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-cpphs" ,ghc-cpphs)
+       ("ghc-mtl" ,ghc-mtl)
+       ("ghc-smallcheck" ,ghc-smallcheck)
+       ("ghc-tasty" ,ghc-tasty)
+       ("ghc-happy" ,ghc-happy)
+       ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
+       ("ghc-tasty-golden" ,ghc-tasty-golden)
+       ("ghc-syb" ,ghc-syb)))
+    (home-page
+     "https://github.com/haskell-suite/haskell-src-exts";)
+    (synopsis
+     "Manipulating Haskell source: abstract syntax, lexer, parser, and
+pretty-printer")
+    (description
+     "Haskell-Source with Extensions (HSE, haskell-src-exts) is an extension
+of the standard haskell-src package, and handles most registered syntactic
+extensions to Haskell.  All extensions implemented in GHC are supported.
+Apart from these standard extensions, it also handles regular patterns as per
+the HaRP extension as well as HSX-style embedded XML syntax.")
+    (license bsd-3)))
+
 (define-public ghc-cpphs
   (package
     (name "ghc-cpphs")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]