[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47768] [PATCH 17/37] gnu: Add ocaml-ppx-let.
From: |
pukkamustard |
Subject: |
[bug#47768] [PATCH 17/37] gnu: Add ocaml-ppx-let. |
Date: |
Wed, 14 Apr 2021 11:12:43 +0200 |
* gnu/packages/ocaml.scm (ocaml-ppx-let): New variable.
(ocaml4.07-ppx-let): Inherit from ocaml-ppx-let.
---
gnu/packages/ocaml.scm | 44 ++++++++++++++++++++++--------------------
1 file changed, 23 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index b979dbd029..0658b7ef68 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5550,35 +5550,37 @@ used to handle optional compilations of pieces of code
depending of the word
size, the version of the compiler, ...")
(license license:asl2.0)))
-(define-public ocaml4.07-ppx-let
+(define-public ocaml-ppx-let
(package
- (name "ocaml4.07-ppx-let")
- (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_let-v" version ".tar.gz"))
- (sha256
- (base32
- "1wdfw6w4xbg97a35yg6bif9gggxniy9ddnrjfw1a0inkl2yamxkj"))))
+ (name "ocaml-ppx-let")
+ (version "0.14.0")
+ (source
+ (janestreet-origin "ppx_let" version
+
"1qcrnd86pbr1di5m6z4ps4p15qawwa02jxwz3xfd82hdbjmdwf1s"))
(build-system dune-build-system)
- (arguments
- `(#:ocaml ,ocaml-4.07
- #:findlib ,ocaml4.07-findlib
- #:dune ,ocaml4.07-dune))
(propagated-inputs
- `(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
- ("ocaml-migrate-parsetree"
- ,(package-with-ocaml4.07 ocaml-migrate-parsetree))
- ("ocaml-ppxlib" ,(package-with-ocaml4.07 ocaml-ppxlib))))
- (properties `((upstream-name . "ppx_let")))
+ `(("ocaml-base" ,ocaml-base)
+ ("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)
+ ("ocaml-ppxlib" ,ocaml-ppxlib)))
+ (properties `((upstream-name . "ppx_let")
+ (ocaml4.07-variant . ,(delay ocaml4.07-ppx-let))))
(home-page "https://github.com/janestreet/ppx_let")
(synopsis "Monadic let-bindings")
(description "A ppx rewriter for monadic and applicative let bindings,
match expressions, and if expressions.")
(license license:asl2.0)))
+(define-public ocaml4.07-ppx-let
+ (package-with-ocaml4.07
+ (package
+ (inherit ocaml-ppx-let)
+ (version "0.11.0")
+ (source
+ (janestreet-origin "ppx_let" version
+
"1wdfw6w4xbg97a35yg6bif9gggxniy9ddnrjfw1a0inkl2yamxkj"))
+
+ (properties `(upstream-name . "ppx_let")))))
+
(define-public ocaml4.07-ppx-fail
(package
(name "ocaml4.07-ppx-fail")
@@ -5848,7 +5850,7 @@ functions from type definitions.")
("ocaml-ppx-fields-conv" ,ocaml4.07-ppx-fields-conv)
("ocaml-ppx-here" ,ocaml4.07-ppx-here)
("ocaml-ppx-inline-test" ,ocaml4.07-ppx-inline-test)
- ("ocaml-ppx-let" ,ocaml4.07-ppx-let)
+ ("ocaml-ppx-let" ,(package-with-ocaml4.07 ocaml-ppx-let))
("ocaml-ppx-optcomp" ,ocaml4.07-ppx-optcomp)
("ocaml-ppx-optional" ,ocaml4.07-ppx-optional)
("ocaml-ppx-pipebang" ,ocaml4.07-ppx-pipebang)
--
2.31.1
- [bug#47768] [PATCH 11/37] gnu: ocaml-migrate-parsetree: Update to 2.1.0., (continued)
- [bug#47768] [PATCH 11/37] gnu: ocaml-migrate-parsetree: Update to 2.1.0., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 23/37] gnu: Add ocaml-ppx-custom-printf., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 24/37] gnu: Add ocaml-ppx-hash., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 22/37] gnu: Add ocaml-ppx-assert., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 25/37] gnu: Add ocaml-ppx-enumerate., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 20/37] gnu: Add ocaml-ppx-here., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 34/37] gnu: Add ocaml-time-now., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 36/37] gnu: Add ocaml-angstrom., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 30/37] gnu: Add ocaml-ppx-optcomp, pukkamustard, 2021/04/14
- [bug#47768] [PATCH 19/37] gnu: Add ocaml-ppx-compare., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 17/37] gnu: Add ocaml-ppx-let.,
pukkamustard <=
- [bug#47768] [PATCH 21/37] gnu: Add ocaml-ppx-cold., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 26/37] gnu: Add ocaml-ppx-js-style., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 27/37] gnu: Add ocaml-ppx-base., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 28/37] gnu: Add ocaml-fieldslib., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 32/37] gnu: Add ocaml-jst-config., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 31/37] gnu: Add ocaml-ppx-optional., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 33/37] gnu: Add ocaml-jane-street-headers., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 35/37] gnu: Add ocaml-ppx-inline-test., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 37/37] gnu: Add ocaml-uri., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 29/37] gnu: Add ocaml-ppx-fields-conv., pukkamustard, 2021/04/14