guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#64209] [PATCH v3 12/14] gnu: Add ocaml-dune-rpc.


From: Benjamin
Subject: [bug#64209] [PATCH v3 12/14] gnu: Add ocaml-dune-rpc.
Date: Fri, 10 Nov 2023 16:46:24 +0100

* gnu/packages/ocaml.scm (ocaml-dune-rpc): New variable.

Change-Id: Iccdb76ffa3ca7a896de9f349939df77dfaca35f8
---
 gnu/packages/ocaml.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 733bcd011e..e96beeed56 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -9691,6 +9691,30 @@ (define-public ocaml-dune-build-info
 reporting the version from the version control system during development to
 get an precise reference of when the executable was built.")))
 
+(define-public ocaml-dune-rpc
+  (package
+    (inherit dune)
+    (name "ocaml-dune-rpc")
+    (build-system dune-build-system)
+    (arguments
+     '(#:package "dune-rpc"
+       #:tests? #f
+       #:phases (modify-phases %standard-phases
+                  (add-before 'build 'remove-vendor
+                    (lambda _
+                      (delete-file-recursively "vendor/csexp")
+                      (delete-file-recursively "vendor/pp"))))))
+    (propagated-inputs (list ocaml-csexp
+                             ocaml-ordering
+                             ocaml-dyn
+                             ocaml-xdg
+                             ocaml-stdune
+                             ocaml-pp
+                             ocaml-odoc))
+    (properties '())
+    (synopsis "Communicate with ocaml dune using rpc")
+    (description "Library to connect and control a running dune instance.")))
+
 (define-public ocaml-chrome-trace
   (package
     (inherit dune)
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]