guix-patches
[Top][All Lists]
Advanced

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

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


From: Benjamin
Subject: [bug#64209] [PATCH 02/14] gnu: Add ocaml-dune-rpc.
Date: Wed, 21 Jun 2023 17:48:16 +0200

* gnu/packages/ocaml.scm (ocaml-dune-rpc): New variable.
---
 gnu/packages/ocaml.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7aa87ca4df..18825f607a 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -9672,6 +9672,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 dune using rpc")
+    (description "Library to connect and control a running dune instance")))
+
 (define-public ocaml-either
   (package
     (name "ocaml-either")
-- 
2.40.1






reply via email to

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