~ruther/guix-local

b2a71b868ce3fed5779eebc172c239307bf9a4bc — Julien Lepiller 2 years ago 039cf0e
gnu: Add dune-ordering.

* gnu/packages/ocaml.scm (dune-ordering): New variable.

Change-Id: I78d81dfc2523b47bdca6430e2f9961cf39c7335a
1 files changed, 19 insertions(+), 0 deletions(-)

M gnu/packages/ocaml.scm
M gnu/packages/ocaml.scm => gnu/packages/ocaml.scm +19 -0
@@ 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")