1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-08-03 21:21:32 +02:00

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 e5231a0b1e
commit e7f92e0d8f
+27
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")