[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47768] [PATCH 26/37] gnu: Add ocaml-ppx-js-style.
From: |
pukkamustard |
Subject: |
[bug#47768] [PATCH 26/37] gnu: Add ocaml-ppx-js-style. |
Date: |
Wed, 14 Apr 2021 11:12:52 +0200 |
* gnu/packages/ocaml.scm (ocaml-ppx-js-style): New variable.
(ocaml4.07-ppx-js-style): Inherit from ocaml-ppx-js-style.
---
gnu/packages/ocaml.scm | 48 +++++++++++++++++++++---------------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 0e2b632ae2..1fb620faa6 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5758,32 +5758,22 @@ output-generating code, interleaved with @code{%expect}
extension expressions
to denote the expected output.")
(license license:asl2.0)))
-(define-public ocaml4.07-ppx-js-style
+(define-public ocaml-ppx-js-style
(package
- (name "ocaml4.07-ppx-js-style")
- (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_js_style-v" version ".tar.gz"))
- (sha256
- (base32
- "0z3fc55jdjhhsblla6z4fqc13kljpcz29q79rvs5h2vsraqrldr2"))))
+ (name "ocaml-ppx-js-style")
+ (version "0.14.0")
+ (source
+ (janestreet-origin "ppx_js_style" version
+ "141fgxfipfn5jdaxc946dmp5y4fcnbhxms9maji9ddywgx82ya7l"))
(build-system dune-build-system)
- (arguments
- ;; No tests
- `(#:tests? #f
- #:ocaml ,ocaml-4.07
- #:findlib ,ocaml4.07-findlib
- #:dune ,ocaml4.07-dune))
+ (arguments `(#:tests? #f)) ; No tests
(propagated-inputs
- `(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
- ("ocaml-migrate-parsetree"
- ,(package-with-ocaml4.07 ocaml-migrate-parsetree))
- ("ocaml-octavius" ,(package-with-ocaml4.07 ocaml-octavius))
- ("ocaml-ppxlib" ,(package-with-ocaml4.07 ocaml-ppxlib))))
- (properties `((upstream-name . "ppx_js_style")))
+ `(("ocaml-base" ,ocaml-base)
+ ("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)
+ ("ocaml-octavius" ,ocaml-octavius)
+ ("ocaml-ppxlib" ,ocaml-ppxlib)))
+ (properties `((upstream-name . "ppx_js_style")
+ (ocaml4.07-variant . ,(delay ocaml4.07-ppx-js-style))))
(home-page "https://github.com/janestreet/ppx_js_style")
(synopsis "Code style checker for Jane Street Packages")
(description "This package is a no-op ppx rewriter. It is used as a
@@ -5791,6 +5781,16 @@ to denote the expected output.")
packages.")
(license license:asl2.0)))
+(define-public ocaml4.07-ppx-js-style
+ (package-with-ocaml4.07
+ (package
+ (inherit ocaml-ppx-js-style)
+ (version "0.11.0")
+ (source
+ (janestreet-origin "ppx_js_style" version
+
"0z3fc55jdjhhsblla6z4fqc13kljpcz29q79rvs5h2vsraqrldr2"))
+ (properties `((upstream-name . "ppx_js_style"))))))
+
(define-public ocaml4.07-ppx-typerep-conv
(package
(name "ocaml4.07-ppx-typerep-conv")
@@ -5845,7 +5845,7 @@ from type definitions.")
`(("ocaml-ppx-compare" ,(package-with-ocaml4.07 ocaml-ppx-compare))
("ocaml-ppx-enumerate" ,(package-with-ocaml4.07 ocaml-ppx-enumerate))
("ocaml-ppx-hash" ,(package-with-ocaml4.07 ocaml-ppx-hash))
- ("ocaml-ppx-js-style" ,ocaml4.07-ppx-js-style)
+ ("ocaml-ppx-js-style" ,(package-with-ocaml4.07 ocaml4.07-ppx-js-style))
("ocaml-ppx-sexp-conv" ,(package-with-ocaml4.07 ocaml-ppx-sexp-conv))
("ocaml-migrate-parsetree"
,(package-with-ocaml4.07 ocaml-migrate-parsetree))
--
2.31.1
- [bug#47768] [PATCH 24/37] gnu: Add ocaml-ppx-hash., (continued)
- [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, 2021/04/14
- [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 <=
- [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