From 6e29cd1f452922a3c625315fe83fb3803b737f54 Mon Sep 17 00:00:00 2001 From: Xinglu Chen Date: Thu, 12 Aug 2021 15:31:29 +0200 Subject: gnu: Add ocaml-ppx-tools. * gnu/packages/ocaml.scm (ocaml-ppx-tools): New variable. (ocaml4.07-ppx-tools): Remove variable. Signed-off-by: Julien Lepiller --- gnu/packages/ocaml.scm | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 77175ce99a..534d065016 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2278,10 +2278,10 @@ displayed at the end of the run (with the full logs ready to inspect), with a simple (yet expressive) query language to select the tests to run.") (license license:isc))) -(define-public ocaml4.07-ppx-tools +(define-public ocaml-ppx-tools (package - (name "ocaml4.07-ppx-tools") - (version "5.1+4.06.0") + (name "ocaml-ppx-tools") + (version "6.4") (source (origin (method git-fetch) @@ -2289,18 +2289,21 @@ simple (yet expressive) query language to select the tests to run.") (url "https://github.com/alainfrisch/ppx_tools") (commit version))) (file-name (git-file-name name version)) - (sha256 (base32 - "1ww4cspdpgjjsgiv71s0im5yjkr3544x96wsq1vpdacq7dr7zwiw")))) - (build-system ocaml-build-system) + (sha256 + (base32 + "15v7yfv6gyp8lzlgwi9garz10wpg34dk4072jdv19n6v20zfg7n1")))) + (build-system dune-build-system) (arguments - `(#:phases (modify-phases %standard-phases (delete 'configure)) - #:tests? #f - #:ocaml ,ocaml-4.07 - #:findlib ,ocaml4.07-findlib)) + ;; No tests + `(#:tests? #f)) + (native-inputs + `(("ocaml-cppo" ,ocaml-cppo))) (properties `((upstream-name . "ppx_tools"))) (home-page "https://github.com/alainfrisch/ppx_tools") (synopsis "Tools for authors of ppx rewriters and other syntactic tools") - (description "Tools for authors of ppx rewriters and other syntactic tools.") + (description + "Ppx_tools provides tools for authors of ppx rewriters and other +syntactic tools.") (license license:expat))) (define-public ocaml-react -- cgit v1.2.3