[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 09/21] gnu: Add ghc-language-c.
From: |
Paul van der Walt |
Subject: |
[PATCH 09/21] gnu: Add ghc-language-c. |
Date: |
Wed, 4 Nov 2015 21:00:57 +0100 |
* 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
- [PATCH 06/21] gnu: Add ghc-newtype., (continued)
- [PATCH 06/21] gnu: Add ghc-newtype., Paul van der Walt, 2015/11/04
- [PATCH 07/21] gnu: Add ghc-patience., Paul van der Walt, 2015/11/04
- [PATCH 08/21] gnu: Add ghc-constraints., Paul van der Walt, 2015/11/04
- [PATCH 10/21] gnu: Add ghc-lifted-async., Paul van der Walt, 2015/11/04
- [PATCH 11/21] gnu: Add ghc-options., Paul van der Walt, 2015/11/04
- [PATCH 09/21] gnu: Add ghc-language-c.,
Paul van der Walt <=
- [PATCH 14/21] gnu: Add ghc-system-filepath., Paul van der Walt, 2015/11/04
- [PATCH 19/21] gnu: Add ghc-alsa-core., Paul van der Walt, 2015/11/04
- [PATCH 18/21] gnu: Add c2hs., Paul van der Walt, 2015/11/04
- [PATCH 12/21] gnu: Add ghc-chell., Paul van der Walt, 2015/11/04
- [PATCH 13/21] gnu: Add ghc-chell-quickcheck., Paul van der Walt, 2015/11/04