guix-commits
[Top][All Lists]
Advanced

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

116/153: gnu: Add ghc-hlint.


From: Paul
Subject: 116/153: gnu: Add ghc-hlint.
Date: Wed, 21 Oct 2015 20:50:59 +0000

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

commit 89370079d618d7a9a20a52fdff5d867b383bfa9c
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 15:55:27 2015 +0200

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

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index d56c9e2..c03848f 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -498,6 +498,36 @@ 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-hlint
+  (package
+    (name "ghc-hlint")
+    (version "1.9.21")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/hlint/hlint-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "14v3rdjjlml9nimdk7d5dvir2bw78ai49yylvms9lnzmw29s3546"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-cpphs" ,ghc-cpphs)
+       ("ghc-cmdargs" ,ghc-cmdargs)
+       ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
+       ("ghc-uniplate" ,ghc-uniplate)
+       ("ghc-ansi-terminal" ,ghc-ansi-terminal)
+       ("ghc-extra" ,ghc-extra)
+       ("ghc-hscolour" ,ghc-hscolour)))
+    (home-page
+     "http://community.haskell.org/~ndm/hlint/";)
+    (synopsis "Source code suggestions")
+    (description
+     "HLint gives suggestions on how to improve your source code.")
+    (license bsd-3)))
+
 (define-public ghc-cpphs
   (package
     (name "ghc-cpphs")



reply via email to

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