guix-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]