From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 09/21] gnu: Add ghc-language-c. Date: Wed, 4 Nov 2015 21:00:57 +0100 Message-ID: <1446667269-4961-9-git-send-email-paul@denknerd.org> References: <87oaf95yix.fsf@denknerd.org> <1446667269-4961-1-git-send-email-paul@denknerd.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu4FZ-0004RT-3j for guix-devel@gnu.org; Wed, 04 Nov 2015 15:01:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zu4FV-0000zj-0Z for guix-devel@gnu.org; Wed, 04 Nov 2015 15:01:41 -0500 Received: from mx01.mykolab.com ([95.128.36.1]:49387 helo=mx-out02.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu4FU-0000zE-Og for guix-devel@gnu.org; Wed, 04 Nov 2015 15:01:36 -0500 Received: from mx03.mykolab.com (mx03.mykolab.com [10.20.7.101]) by mx-out02.mykolab.com (Postfix) with ESMTPS id E713B6209B for ; Wed, 4 Nov 2015 21:01:30 +0100 (CET) In-Reply-To: <1446667269-4961-1-git-send-email-paul@denknerd.org> 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-language-c): New variable. --- gnu/packages/haskell.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index af5a330..88a7fe5 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -623,6 +623,34 @@ module containing code for scanning text efficiently. It is similar to the tool lex or flex for C/C++.") (license bsd-3))) +(define-public ghc-language-c + (package + (name "ghc-language-c") + (version "0.4.7") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/language-c/language-c-" + version + ".tar.gz")) + (sha256 + (base32 + "1r0jlncv6d6ai8kblrdq9gz8abx57b24y6hfh30xx20zdgccjvaz")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-happy" ,ghc-happy) + ("ghc-alex" ,ghc-alex))) + (propagated-inputs + `(("ghc-syb" ,ghc-syb))) + (home-page "https://hackage.haskell.org/package/language-c") + (synopsis "Haskell library for analysis and generation of C") + (description + "Language-C is a Haskell library that provides facilities for the +analysis and generation of C code. It features a complete, well-tested parser +and pretty printer for all of C99 and a large set of GNU extensions.") + (license bsd-3))) + (define-public ghc-cgi (package (name "ghc-cgi") -- 2.6.2