unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#50023] [PATCH] gnu: Add ocaml-ppx-tools.
@ 2021-08-12 13:31 Xinglu Chen
  2021-10-08 11:19 ` bug#50023: " Julien Lepiller
  0 siblings, 1 reply; 2+ messages in thread
From: Xinglu Chen @ 2021-08-12 13:31 UTC (permalink / raw)
  To: 50023

* gnu/packages/ocaml.scm (ocaml-ppx-tools): New variable.
(ocaml4.07-ppx-tools): Remove variable.
---
‘ocaml4.07-ppx-tools’ isn’t needed by any package, so I removed it.

 gnu/packages/ocaml.scm | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 112751ddec..583469dd21 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2262,10 +2262,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)
@@ -2273,18 +2273,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
+     "This Ocaml package provides tools for authors of ppx rewriters and other
+syntactic tools.")
     (license license:expat)))
 
 (define-public ocaml-react

base-commit: e6388b48f3df21b792cd61f93fddc7274238bac6
-- 
2.32.0






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#50023: [PATCH] gnu: Add ocaml-ppx-tools.
  2021-08-12 13:31 [bug#50023] [PATCH] gnu: Add ocaml-ppx-tools Xinglu Chen
@ 2021-10-08 11:19 ` Julien Lepiller
  0 siblings, 0 replies; 2+ messages in thread
From: Julien Lepiller @ 2021-10-08 11:19 UTC (permalink / raw)
  To: 50023-done

Pushed to master as 6e29cd1f452922a3c625315fe83fb3803b737f54, thank you!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-08 11:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-12 13:31 [bug#50023] [PATCH] gnu: Add ocaml-ppx-tools Xinglu Chen
2021-10-08 11:19 ` bug#50023: " Julien Lepiller

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).