guix-commits
[Top][All Lists]
Advanced

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

27/34: gnu: Add dune-ordering.


From: guix-commits
Subject: 27/34: gnu: Add dune-ordering.
Date: Thu, 8 Feb 2024 17:25:46 -0500 (EST)

roptat pushed a commit to branch master
in repository guix.

commit b2a71b868ce3fed5779eebc172c239307bf9a4bc
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Wed Jan 10 08:43:28 2024 +0100

    gnu: Add dune-ordering.
    
    * gnu/packages/ocaml.scm (dune-ordering): New variable.
    
    Change-Id: I78d81dfc2523b47bdca6430e2f9961cf39c7335a
---
 gnu/packages/ocaml.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 3a0c9c6da8..aaa9e23982 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2028,6 +2028,25 @@ defines its own algebra which some might find easier to 
work with and reason
 about.")
     (license license:expat)))
 
+(define-public dune-ordering
+  (package
+    (inherit dune)
+    (name "dune-ordering")
+    (source (origin
+              (inherit (package-source dune))
+              (modules '((guix build utils)))
+              (snippet
+                `(begin
+                   (delete-file-recursively "vendor/pp")
+                   (delete-file-recursively "vendor/csexp")))))
+    (build-system dune-build-system)
+    (arguments
+     `(#:package "ordering"
+       ;; Tests have a cyclic dependency on stdune
+       #:tests? #f))
+    (synopsis "Dune element ordering")
+    (description "This library represents element ordering in OCaml.")))
+
 (define-public ocaml-csexp
   (package
     (name "ocaml-csexp")



reply via email to

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