* 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