guix-patches
[Top][All Lists]
Advanced

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

[bug#64209] [PATCH 04/14] gnu: Add ocaml-dyn.


From: Benjamin
Subject: [bug#64209] [PATCH 04/14] gnu: Add ocaml-dyn.
Date: Wed, 21 Jun 2023 17:48:18 +0200

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 078c7837e7..5ad86c7c20 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -9717,6 +9717,24 @@ (define-public ocaml-chrome-trace
 risk.")
     (license license:expat)))
 
+(define-public ocaml-dyn
+  (package
+    (inherit dune)
+    (name "ocaml-dyn")
+    (build-system dune-build-system)
+    (arguments
+     '(#:package "dyn"
+       #: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-ordering ocaml-pp ocaml-odoc))
+    (properties '())
+    (synopsis "Dynamic type")
+    (description "Dynamic type")))
+
 (define-public ocaml-either
   (package
     (name "ocaml-either")
-- 
2.40.1






reply via email to

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