[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/10: gnu: Add ocaml-cppo.
From: |
julien lepiller |
Subject: |
05/10: gnu: Add ocaml-cppo. |
Date: |
Wed, 15 Feb 2017 14:11:37 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit f6dde36aebb9a955c8f1dd1db30d43b5955e0084
Author: Julien Lepiller <address@hidden>
Date: Fri Dec 30 16:35:13 2016 +0100
gnu: Add ocaml-cppo.
* gnu/packages/ocaml.scm (ocaml-cppo): New variable.
---
gnu/packages/ocaml.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 83d2632..23ef7cc 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2117,3 +2117,33 @@ provide a tool that can be used to:
@item improved errors for misspelled/misplaced attributes and extension points.
@end enumerate")
(license license:asl2.0)))
+
+(define-public ocaml-cppo
+ (package
+ (name "ocaml-cppo")
+ (version "1.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/mjambon/cppo/archive/v" version
+ ".tar.gz"))
+ (sha256 (base32
+ "02gma6nw09vfnd6h7bl3n70lwz7m9z2svplxyfh6h5bf4lqgqzjv"))
+ (file-name (string-append name "-" version ".tar.gz"))))
+ (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))
+ (home-page "https://github.com/mjambon/cppo")
+ (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. Cpp
ois:
address@hidden
address@hidden more OCaml-friendly than cpp
address@hidden easy to learn without consulting a manual
address@hidden reasonably fast
address@hidden simple to install and to maintain.
address@hidden enumerate")
+ (license license:bsd-3)))
- branch master updated (6fb9e06 -> 953ecc0), julien lepiller, 2017/02/15
- 03/10: gnu: Add ocaml-ppx-optcomp., julien lepiller, 2017/02/15
- 01/10: gnu: Add ocaml-fieldslib., julien lepiller, 2017/02/15
- 02/10: gnu: Add ocaml-ppx-core., julien lepiller, 2017/02/15
- 09/10: gnu: Add ocaml-ppx-bench., julien lepiller, 2017/02/15
- 06/10: gnu: Add ocaml-ppx-deriving., julien lepiller, 2017/02/15
- 07/10: gnu: Add ocaml-ppx-type-conv., julien lepiller, 2017/02/15
- 04/10: gnu: Add ocaml-ppx-driver., julien lepiller, 2017/02/15
- 05/10: gnu: Add ocaml-cppo.,
julien lepiller <=
- 08/10: gnu: Add ocaml-ppx-inline-test., julien lepiller, 2017/02/15
- 10/10: gnu: Add ocaml-ppx-compare., julien lepiller, 2017/02/15