From b2a71b868ce3fed5779eebc172c239307bf9a4bc Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 10 Jan 2024 08:43:28 +0100 Subject: [PATCH] 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 @@ (define-public ocaml-pp 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")