[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 52/96] gnu: Add ocaml-cppo
From: |
Julien Lepiller |
Subject: |
[PATCH 52/96] gnu: Add ocaml-cppo |
Date: |
Tue, 3 Jan 2017 20:11:33 +0100 |
* gnu/packages/ocaml.scm (ocaml-cppo): New variable.
---
gnu/packages/ocaml.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 58fd0eb0c..ae7218a92 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1930,3 +1930,30 @@ provide a tool that can be used to:
- use a single executable to run several transformations: no need to fork many
times just for pre-processing
- improved errors for misspelled/misplaced attributes and extension points.")
(license license:asl2.0)))
+
+(define-public ocaml-cppo
+ (package
+ (name "ocaml-cppo")
+ (version "1.4.1")
+ (home-page "https://github.com/mjambon/cppo")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append home-page "/archive/v" version ".tar.gz"))
+ (sha256 (base32
+ "02gma6nw09vfnd6h7bl3n70lwz7m9z2svplxyfh6h5bf4lqgqzjv"))))
+ (build-system ocaml-build-system)
+ (arguments `(#:phases (modify-phases %standard-phases (delete 'configure))
+ #:make-flags (list (string-append "BINDIR="
+ (assoc-ref %outputs "out")
+ "/bin"))
+ #:tests? #f))
+ (synopsis "Equivalent of the C preprocessor for OCaml programs")
+ (description "Cppo is an equivalent of the C preprocessor for OCaml
+programs. It allows the definition of simple macros and file inclusion. Cppo
is:
+
+- more OCaml-friendly than cpp
+- easy to learn without consulting a manual
+- reasonably fast
+- simple to install and to maintain.")
+ (license license:bsd-3)))
--
2.11.0
- [PATCH 43/96] gnu: Add ocaml-expect, (continued)
- [PATCH 43/96] gnu: Add ocaml-expect, Julien Lepiller, 2017/01/03
- [PATCH 44/96] gnu: Add ocaml-fileutils, Julien Lepiller, 2017/01/03
- [PATCH 45/96] gnu: Add ocaml-oasis, Julien Lepiller, 2017/01/03
- [PATCH 46/96] gnu: Add ocaml-js-build-tools, Julien Lepiller, 2017/01/03
- [PATCH 47/96] gnu: Add ocaml-bin-prot, Julien Lepiller, 2017/01/03
- [PATCH 48/96] gnu: Add ocaml-fieldslib, Julien Lepiller, 2017/01/03
- [PATCH 49/96] gnu: Add ocaml-ppx-core, Julien Lepiller, 2017/01/03
- [PATCH 50/96] gnu: Add ocaml-ppx-optcomp, Julien Lepiller, 2017/01/03
- [PATCH 51/96] gnu: Add ocaml-ppx-driver, Julien Lepiller, 2017/01/03
- [PATCH 52/96] gnu: Add ocaml-cppo,
Julien Lepiller <=
- [PATCH 53/96] gnu: Add ocaml-ppx-deriving, Julien Lepiller, 2017/01/03
- [PATCH 54/96] gnu: Add ocaml-ppx-type-conv, Julien Lepiller, 2017/01/03
- [PATCH 55/96] gnu: Add ocaml-ppx-inline-test, Julien Lepiller, 2017/01/03
- [PATCH 56/96] gnu: Add ocaml-ppx-bench, Julien Lepiller, 2017/01/03
- [PATCH 57/96] gnu: Add ocaml-ppx-compare, Julien Lepiller, 2017/01/03
- [PATCH 58/96] gnu: Add ocaml-sexplib, Julien Lepiller, 2017/01/03
- [PATCH 59/96] gnu: Add ocaml-typerep, Julien Lepiller, 2017/01/03
- [PATCH 60/96] gnu: Add ocaml-variantslib, Julien Lepiller, 2017/01/03
- [PATCH 61/96] gnu: Add ocaml-ppx-sexp-conv, Julien Lepiller, 2017/01/03
- [PATCH 62/96] gnu: Add ocaml-ppx-variants-conv, Julien Lepiller, 2017/01/03