guix-commits
[Top][All Lists]
Advanced

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

04/08: gnu: Add ghc-indents.


From: Ludovic Courtès
Subject: 04/08: gnu: Add ghc-indents.
Date: Mon, 6 Jun 2016 16:15:12 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit b6bfa2cacfd3e8940098bc7c365337308d170300
Author: Ludovic Courtès <address@hidden>
Date:   Mon Jun 6 16:49:53 2016 +0200

    gnu: Add ghc-indents.
    
    * gnu/packages/haskell.scm (ghc-indents): New variable.
---
 gnu/packages/haskell.scm |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 5a01eec..5e99ba2 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -2002,6 +2002,31 @@ isn't available, portable implementations are used.")
 both client and server code).")
     (license license:bsd-3)))
 
+(define-public ghc-indents
+  (package
+    (name "ghc-indents")
+    (version "0.3.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://hackage.haskell.org/package/indents/indents-";
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "16lz21bp9j14xilnq8yym22p3saxvc9fsgfcf5awn2a6i6n527xn"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-parsec" ,ghc-parsec)
+       ("ghc-concatenative" ,ghc-concatenative)
+       ("ghc-mtl" ,ghc-mtl)))
+    (home-page "http://patch-tag.com/r/salazar/indents";)
+    (synopsis "Indentation sensitive parser-combinators for parsec")
+    (description
+     "This library provides functions for use in parsing indentation sensitive
+contexts.  It parses blocks of lines all indented to the same level as well as
+lines continued at an indented level below.")
+    (license license:bsd-3)))
+
 (define-public ghc-iproute
   (package
     (name "ghc-iproute")



reply via email to

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