[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
113/154: gnu: Add cpphs.
From: |
Paul |
Subject: |
113/154: gnu: Add cpphs. |
Date: |
Thu, 22 Oct 2015 16:15:53 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit 3ebc0edda7935026584b5ef45b9e7f3939eb60ef
Author: Paul van der Walt <address@hidden>
Date: Thu Oct 15 15:50:54 2015 +0200
gnu: Add cpphs.
* gnu/packages/haskell.scm (cpphs): New variable.
---
gnu/packages/haskell.scm | 30 +++++++++++++++++++++++++++++-
1 files changed, 29 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index e45dc7e..10b37c7 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -20,7 +20,7 @@
(define-module (gnu packages haskell)
#:use-module (ice-9 regex)
- #:use-module ((guix licenses) #:select (bsd-3 lgpl2.1 expat))
+ #:use-module ((guix licenses) #:select (bsd-3 lgpl2.1 lgpl2.1+ gpl3+ expat))
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix utils)
@@ -413,6 +413,34 @@ are no options for manipulating the reflected expressions
beyond showing
them.")
(license bsd-3)))
+(define-public cpphs
+ (package
+ (name "cpphs")
+ (version "1.19.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/" name "/"
+ name "-" 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 (list lgpl2.1+ gpl3+))))
+
(define-public ghc-reflection
(package
(name "ghc-reflection")
- 102/154: gnu: Add HScolour., (continued)
- 102/154: gnu: Add HScolour., Paul, 2015/10/22
- 100/154: gnu: Add ghc-distributive., Paul, 2015/10/22
- 95/154: gnu: Add ghc-attoparsec., Paul, 2015/10/22
- 103/154: gnu: Add ghc-polyparse., Paul, 2015/10/22
- 106/154: gnu: Add ghc-semigroupoids., Paul, 2015/10/22
- 101/154: gnu: Add ghc-comonad., Paul, 2015/10/22
- 97/154: gnu: Add ghc-css-text., Paul, 2015/10/22
- 91/154: gnu: Add ghc-smallcheck., Paul, 2015/10/22
- 105/154: gnu: Add ghc-profunctors., Paul, 2015/10/22
- 104/154: gnu: Add ghc-extra., Paul, 2015/10/22
- 113/154: gnu: Add cpphs.,
Paul <=
- 115/154: gnu: Add ghc-happy., Paul, 2015/10/22
- 98/154: gnu: Add ghc-zip-archive., Paul, 2015/10/22
- 99/154: gnu: Add ghc-cereal., Paul, 2015/10/22
- 107/154: gnu: Add ghc-reducers., Paul, 2015/10/22
- 108/154: gnu: Add ghc-reflection., Paul, 2015/10/22
- 111/154: gnu: Add ghc-adjunctions., Paul, 2015/10/22
- 118/154: gnu: Add ghc-resourcet., Paul, 2015/10/22
- 119/154: gnu: Add ghc-streaming-commons., Paul, 2015/10/22
- 110/154: gnu: Add ghc-free., Paul, 2015/10/22
- 109/154: gnu: Add ghc-prelude-extras., Paul, 2015/10/22