From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 091/105] gnu: Add ghc-hlint. Date: Thu, 15 Oct 2015 17:36:04 +0200 Message-ID: <1444923378-10269-1-git-send-email-paul@denknerd.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmka2-0005q1-Ga for guix-devel@gnu.org; Thu, 15 Oct 2015 11:36:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmkZy-0006o7-FD for guix-devel@gnu.org; Thu, 15 Oct 2015 11:36:34 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:42301 helo=mx-out01.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmkZy-0006nZ-8N for guix-devel@gnu.org; Thu, 15 Oct 2015 11:36:30 -0400 Received: from mx03.mykolab.com (mx03.mykolab.com [10.20.7.101]) by mx-out01.mykolab.com (Postfix) with ESMTPS id A094D62294 for ; Thu, 15 Oct 2015 17:36:20 +0200 (CEST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/haskell.scm (ghc-hlint): New variable. --- gnu/packages/haskell.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index fbcbe4f..b7b4c7c 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -501,6 +501,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") -- 2.6.1