summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul van der Walt <paul@denknerd.org>2015-10-22 13:18:11 +0200
committerPaul van der Walt <paul@denknerd.org>2015-10-23 09:10:52 +0200
commit6397aef061e48e87f036fcee81cbe59349b04247 (patch)
tree0ea7924e7e1f248c24b55e4f66f49a08de0323ec
parent6ff19687b1b12822e86f85836c26aab9246ec713 (diff)
gnu: Add hlint.
* gnu/packages/haskell.scm (hlint): New variable.
-rw-r--r--gnu/packages/haskell.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 03c283b014d..6d479d208b4 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -494,6 +494,35 @@ are supported. Apart from these standard extensions, it also handles regular
494patterns as per the HaRP extension as well as HSX-style embedded XML syntax.") 494patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
495 (license bsd-3))) 495 (license bsd-3)))
496 496
497(define-public hlint
498 (package
499 (name "hlint")
500 (version "1.9.21")
501 (source
502 (origin
503 (method url-fetch)
504 (uri (string-append
505 "http://hackage.haskell.org/package/" name
506 "/" name "-" version ".tar.gz"))
507 (sha256
508 (base32
509 "14v3rdjjlml9nimdk7d5dvir2bw78ai49yylvms9lnzmw29s3546"))))
510 (build-system haskell-build-system)
511 (inputs
512 `(("cpphs" ,cpphs)
513 ("ghc-cmdargs" ,ghc-cmdargs)
514 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
515 ("ghc-uniplate" ,ghc-uniplate)
516 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
517 ("ghc-extra" ,ghc-extra)
518 ("hscolour" ,hscolour)))
519 (home-page "http://community.haskell.org/~ndm/hlint/")
520 (synopsis "Suggest improvements for Haskell source code")
521 (description "HLint reads Haskell programs and suggests changes that
522hopefully make them easier to read. HLint also makes it easy to disable
523unwanted suggestions, and to add your own custom suggestions.")
524 (license bsd-3)))
525
497(define-public cpphs 526(define-public cpphs
498 (package 527 (package
499 (name "cpphs") 528 (name "cpphs")