guix-patches
[Top][All Lists]
Advanced

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

[bug#64209] [PATCH 05/14] gnu: Add ocaml-stdune.


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

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 5ad86c7c20..3e5fe7c92a 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -9735,6 +9735,27 @@ (define-public ocaml-dyn
     (synopsis "Dynamic type")
     (description "Dynamic type")))
 
+(define-public ocaml-stdune
+  (package
+    (inherit dune)
+    (name "ocaml-stdune")
+    (build-system dune-build-system)
+    (arguments
+     '(#:package "stdune"
+       #: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-dyn ocaml-ordering ocaml-pp ocaml-csexp
+                             ocaml-odoc))
+    (properties '())
+    (synopsis "Dune's unstable standard library")
+    (description
+     "This library offers no backwards compatibility guarantees.  Use at your 
own
+risk.")))
+
 (define-public ocaml-either
   (package
     (name "ocaml-either")
-- 
2.40.1






reply via email to

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