[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
24/40: gnu: Add ocaml-ppx-optional.
From: |
guix-commits |
Subject: |
24/40: gnu: Add ocaml-ppx-optional. |
Date: |
Tue, 5 Feb 2019 16:34:55 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit 3f4ecf6649b733d50b11acb941d16b7505fdb93e
Author: Julien Lepiller <address@hidden>
Date: Fri Feb 1 18:27:40 2019 +0100
gnu: Add ocaml-ppx-optional.
* gnu/packages/ocaml.scm (ocaml-ppx-optional): New variable.
---
gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index a8176c2..7f208a8 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5616,3 +5616,31 @@ context such as function arguments.")
(description "A ppx rewriter that inlines reverse application operators
@code{|>} and @code{|!}.")
(license license:asl2.0)))
+
+(define-public ocaml-ppx-optional
+ (package
+ (name "ocaml-ppx-optional")
+ (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_optional-v" version ".tar.gz"))
+ (sha256
+ (base32
+ "1z8z2bga95k2vksljljfglg10vygkjd24kn1b37sk4z3nmp47x0h"))))
+ (build-system dune-build-system)
+ (arguments
+ ;; No tests
+ `(#:tests? #f))
+ (propagated-inputs
+ `(("ocaml-base" ,ocaml-base)
+ ("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)
+ ("ocaml-ppxlib" ,ocaml-ppxlib)))
+ (properties `((upstream-name . "ppx_optional")))
+ (home-page "https://github.com/janestreet/ppx_optional")
+ (synopsis "Pattern matching on flat options")
+ (description
+ "A ppx rewriter that rewrites simple match statements with an if then
+else expression.")
+ (license license:asl2.0)))
- branch master updated (4aeb7f3 -> 8baa5c8), guix-commits, 2019/02/05
- 40/40: gnu: Add ocaml-core-kernel., guix-commits, 2019/02/05
- 33/40: gnu: Add ocaml-ppx-bin-prot., guix-commits, 2019/02/05
- 24/40: gnu: Add ocaml-ppx-optional.,
guix-commits <=
- 29/40: gnu: Add ocaml-ppx-expect., guix-commits, 2019/02/05
- 35/40: gnu: Add ocaml-splittable-random., guix-commits, 2019/02/05
- 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