From b6bfa2cacfd3e8940098bc7c365337308d170300 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 6 Jun 2016 16:49:53 +0200 Subject: gnu: Add ghc-indents. * gnu/packages/haskell.scm (ghc-indents): New variable. --- gnu/packages/haskell.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 5a01eeceec..5e99ba2287 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") -- cgit 1.4.1