gnu: ocaml5: Add ocaml-opam-file-format.

* gnu/packages/ocaml5.scm (ocaml-opam-file-format): New variable.

Change-Id: Ibb19698643b3ad570e00ed9e00b6fb85b61c8104
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
Jason Conroy 2026-01-10 16:25:01 -05:00 committed by Julien Lepiller
parent b44da656a3
commit 65eb403fb4
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -180,6 +180,33 @@ functional, imperative and object-oriented styles of programming.")
for building OCaml library and programs.")
(license license:lgpl2.1+)))
(define-public ocaml-opam-file-format
(package
(name "ocaml5-opam-file-format")
(version "2.1.4")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ocaml/opam-file-format")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0dmnb1mqdy4913f9ma446hi5m99q7hfibj6j0m8x2wsfnfy2fw62"))))
(build-system ocaml-build-system)
(arguments
`(#:tests? #f ;No tests
#:make-flags ,#~(list (string-append "LIBDIR="
#$output "/lib/ocaml/site-lib"))
#:phases (modify-phases %standard-phases
(delete 'configure))))
(home-page "https://opam.ocaml.org")
(synopsis "Parser and printer for the opam file syntax")
(description "This package contains a parser and a pretty-printer for
the opam file format.")
;; With static-linking exception
(license license:lgpl2.1+)))
(define-public ocaml5.3-result
(package
(name "ocaml5.3-result")