[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 91/96] gnu: Add ocaml-optcomp
From: |
Julien Lepiller |
Subject: |
[PATCH 91/96] gnu: Add ocaml-optcomp |
Date: |
Tue, 3 Jan 2017 20:12:12 +0100 |
* gnu/packages/ocaml.scm (ocaml-optcomp): New variable.
---
gnu/packages/ocaml.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 40e285820..ed24aa526 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2775,3 +2775,28 @@ OCaml standard library")
(description "High-level and functional interface to the Format module of
the OCaml standard library.")
(license license:bsd-3)))
+
+(define-public ocaml-optcomp
+ (package
+ (name "ocaml-optcomp")
+ (version "1.6")
+ (home-page "https://github.com/diml/optcomp")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append home-page "/archive/" version ".tar.gz"))
+ (sha256
+ (base32
+ "0hhhb2gisah1h22zlg5iszbgqxdd7x85cwd57bd4mfkx9l7dh8jh"))))
+ (build-system ocaml-build-system)
+ (arguments
+ `(#:use-make? #t
+ #:make-flags
+ (list (string-append "BUILDFLAGS=\""
+ "-cflags -I,"
+ (assoc-ref %build-inputs "camlp4")
+ "/lib/ocaml/site-lib/camlp4/Camlp4Parsers\""))))
+ (native-inputs `(("camlp4" ,camlp4)))
+ (propagated-inputs `(("camlp4" ,camlp4)))
+ (synopsis "Optional compilation with cpp-like directives")
+ (description "Optional compilation with cpp-like directives.")
+ (license license:bsd-3)))
--
2.11.0
- [PATCH 81/96] gnu: Add ocaml-core, (continued)
- [PATCH 81/96] gnu: Add ocaml-core, Julien Lepiller, 2017/01/03
- [PATCH 82/96] gnu: Add ocaml-async-unix, Julien Lepiller, 2017/01/03
- [PATCH 83/96] gnu: Add ocaml-async-extra, Julien Lepiller, 2017/01/03
- [PATCH 84/96] gnu: Add ocaml-async, Julien Lepiller, 2017/01/03
- [PATCH 85/96] gnu: Add ocaml-ocplib-endian, Julien Lepiller, 2017/01/03
- [PATCH 86/96] gnu: Add ocaml-cstruct, Julien Lepiller, 2017/01/03
- [PATCH 87/96] gnu: Add ocaml-hex, Julien Lepiller, 2017/01/03
- [PATCH 88/96] gnu: Add ocaml-ezjsonm, Julien Lepiller, 2017/01/03
- [PATCH 89/96] gnu: Add ocaml-uri, Julien Lepiller, 2017/01/03
- [PATCH 90/96] gnu: Add ocaml-easy-format, Julien Lepiller, 2017/01/03
- [PATCH 91/96] gnu: Add ocaml-optcomp,
Julien Lepiller <=
- [PATCH 93/96] gnu: Add ocaml-uuidm, Julien Lepiller, 2017/01/03
- [PATCH 92/96] gnu: Add ocaml-piqilib, Julien Lepiller, 2017/01/03
- [PATCH 95/96] gnu: Add ocaml-piqi, Julien Lepiller, 2017/01/03
- [PATCH 94/96] gnu: Add ocamlgraph, Julien Lepiller, 2017/01/03
- [PATCH 96/96] gnu: Add bap, Julien Lepiller, 2017/01/03
- Re: [PATCH 00/96] ocaml-build-system and packages, David Craven, 2017/01/03
- Re: [PATCH 00/96] ocaml-build-system and packages, Ludovic Courtès, 2017/01/04