guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

112/153: gnu: Add ghc-cpphs.


From: Paul
Subject: 112/153: gnu: Add ghc-cpphs.
Date: Wed, 21 Oct 2015 20:50:57 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit 4fcb59b5fd90ad0bd415547f87fdc2b56cf0d736
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 15:50:54 2015 +0200

    gnu: Add ghc-cpphs.
    
    * gnu/packages/haskell.scm (ghc-cpphs): New variable.
---
 gnu/packages/haskell.scm |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index aa038e4..cd2456d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -413,6 +413,37 @@ are no options for manipulating the reflected expressions 
beyond showing
 them.")
     (license bsd-3)))
 
+(define-public ghc-cpphs
+  (package
+    (name "ghc-cpphs")
+    (version "1.19.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/cpphs/cpphs-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1njpmxgpah5pcqppcl1cxb5xicf6xlqrd162qm12khp9hainlm72"))))
+    (build-system haskell-build-system)
+    (propagated-inputs
+     `(("ghc-polyparse" ,ghc-polyparse)
+       ("ghc-old-locale" ,ghc-old-locale)
+       ("ghc-old-time" ,ghc-old-time)))
+    (home-page "http://projects.haskell.org/cpphs/";)
+    (synopsis
+     "Liberalised re-implementation of cpp, the C pre-processor")
+    (description
+     "Cpphs is a re-implementation of the C pre-processor that is both more
+compatible with Haskell, and itself written in Haskell so that it can be
+distributed with compilers.  This version of the C pre-processor is
+pretty-much feature-complete and compatible with traditional (K&R)
+pre-processors.  Additional features include: a plain-text mode; an option to
+unlit literate code files; and an option to turn off macro-expansion.")
+    (license lgpl2.1)))
+
 (define-public ghc-reflection
   (package
     (name "ghc-reflection")



reply via email to

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