[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/40: gnu: add ocaml-ppx-optcomp.
From: |
guix-commits |
Subject: |
25/40: gnu: add ocaml-ppx-optcomp. |
Date: |
Tue, 5 Feb 2019 16:34:55 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit 79967eeafc17e40594220cc3113959ac4b9deb37
Author: Julien Lepiller <address@hidden>
Date: Fri Feb 1 18:30:08 2019 +0100
gnu: add ocaml-ppx-optcomp.
* gnu/packages/ocaml.scm (ocaml-ppx-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 7f208a8..6a56c71 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5644,3 +5644,28 @@ context such as function arguments.")
"A ppx rewriter that rewrites simple match statements with an if then
else expression.")
(license license:asl2.0)))
+
+(define-public ocaml-ppx-optcomp
+ (package
+ (name "ocaml-ppx-optcomp")
+ (version "0.11.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://ocaml.janestreet.com/ocaml-core/v"
+ (version-major+minor version)
+ "/files/ppx_optcomp-v" version ".tar.gz"))
+ (sha256
+ (base32
+ "1bb52p2j2h4s9f06vrcpla80rj93jinnzq6jzilapyx9q068929i"))))
+ (build-system dune-build-system)
+ (propagated-inputs
+ `(("ocaml-base" ,ocaml-base)
+ ("ocaml-stdio" ,ocaml-stdio)
+ ("ocaml-ppxlib" ,ocaml-ppxlib)))
+ (properties `((upstream-name . "ppx_optcomp")))
+ (home-page "https://github.com/janestreet/ppx_optcomp")
+ (synopsis "Optional compilation for OCaml")
+ (description "Ppx_optcomp stands for Optional Compilation. It is a tool
+used to handle optional compilations of pieces of code depending of the word
+size, the version of the compiler, ...")
+ (license license:asl2.0)))
- 30/40: gnu: Add ocaml-ppx-js-style., (continued)
- 30/40: gnu: Add ocaml-ppx-js-style., guix-commits, 2019/02/05
- 15/40: gnu: Add ocaml-octavius., guix-commits, 2019/02/05
- 38/40: gnu: Add ocaml-spawn., guix-commits, 2019/02/05
- 34/40: gnu: Add ocaml-ppx-jane., guix-commits, 2019/02/05
- 16/40: gnu: Add ocaml-ppx-hash., guix-commits, 2019/02/05
- 27/40: gnu: Add ocaml-ppx-fail., guix-commits, 2019/02/05
- 36/40: gnu: Add ocaml-jane-street-headers., guix-commits, 2019/02/05
- 32/40: gnu: Add ocaml-ppx-base., guix-commits, 2019/02/05
- 28/40: gnu: Add ocaml-ppx-assert., guix-commits, 2019/02/05
- 39/40: gnu: Add ocaml-core., guix-commits, 2019/02/05
- 25/40: gnu: add ocaml-ppx-optcomp.,
guix-commits <=
- 37/40: gnu: Add ocaml-configurator., guix-commits, 2019/02/05
- 31/40: gnu: Add ocaml-ppx-typerep-conv., guix-commits, 2019/02/05
- 23/40: gnu: Add ocaml-ppx-pipebang., guix-commits, 2019/02/05
- 17/40: gnu: Add ocaml-ppx-enumerate., guix-commits, 2019/02/05
- 19/40: gnu: Add ocaml-ppx-here., guix-commits, 2019/02/05
- 08/40: gnu: Add ocaml-fieldslib., guix-commits, 2019/02/05
- 26/40: gnu: Add ocaml-ppx-let., guix-commits, 2019/02/05
- 12/40: gnu: Add ocaml-ppx-variants-conv., guix-commits, 2019/02/05
- 21/40: gnu: Add ocaml-ppx-sexp-value., guix-commits, 2019/02/05
- 06/40: gnu: ocaml: Use propagated-inputs., guix-commits, 2019/02/05