extra-files: [ [ "md5=026b31e1df290373198373d5aaa26e42" "bGliOlsKICAiTUVUQS5zZXEiIHsiTUVUQSJ9Cl0K" ] [ "md5=3e969b841df1f51ca448e6e6295cb451" "c2hhcmVfcm9vdDogWyJjb25maWcuY2FjaGUiIHsib2NhbWwvY29uZmlnLmNhY2hlIn1dCg==" ] [ "md5=8e50c5e2517d3463b3aad649748cafd7" "c2hhcmU6IFsiZ2VuX29jYW1sX2NvbmZpZy5tbCJdCg==" ] [ "md5=a4b41e3236593d8271295b84b0969172" "bGV0ICgpID0KICBsZXQgb2NhbWxfdmVyc2lvbiA9CiAgICBsZXQgdiA9IFN5cy5vY2FtbF92ZXJzaW9uIGluCiAgICBsZXQgbCA9IFN0cmluZy5sZW5ndGggdiBpbgogICAgbGV0IHBsdXMgPSB0cnkgU3RyaW5nLmluZGV4IHYgJysnIHdpdGggTm90X2ZvdW5kIC0+IGwgaW4KICAgICgqIEludHJvZHVjZWQgaW4gNC4xMS4wOyB1c2VkIGZyb20gNC4xMi4wICopCiAgICBsZXQgdGlsZGUgPSB0cnkgU3RyaW5nLmluZGV4IHYgJ34nIHdpdGggTm90X2ZvdW5kIC0+IGwgaW4KICAgIFN0cmluZy5zdWIgdiAwIChtaW4gKG1pbiBwbHVzIHRpbGRlKSBsKQogIGluCiAgaWYgb2NhbWxfdmVyc2lvbiA8PiBTeXMuYXJndi4oMSkgdGhlbgogICAgKFByaW50Zi5lcHJpbnRmCiAgICAgICAiT0NhbWwgdmVyc2lvbiBtaXNtYXRjaDogJSVzLCBleHBlY3RlZCAlcyIKICAgICAgIG9jYW1sX3ZlcnNpb24gU3lzLmFyZ3YuKDEpOwogICAgIGV4aXQgMSkKICBlbHNlCiAgbGV0IG9jID0gb3Blbl9vdXQgKFN5cy5hcmd2LigyKSBeICIuY29uZmlnIikgaW4KICBsZXQgZXhlID0gIi5leGUiIGluCiAgbGV0IChvY2FtbCwgc3VmZml4KSA9CiAgICBsZXQgcyA9IFN5cy5leGVjdXRhYm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bGxlZD8rc3BhY2V0aW1lOn0lJXtvY2FtbC1vcHRpb24tc3RhdGljOmluc3RhbGxlZD8rc3RhdGljOn0lXCIiOwogIHAgIn0iOwogIGNsb3NlX291dCBvYwo=" ] [ "md5=b33c8a1a6c7ed797816ce27df4855107" "bmFtZT0ic2VxIgp2ZXJzaW9uPSJbZGlzdHJpYnV0ZWQgd2l0aCBPQ2FtbCA0LjA3IG9yIGFib3ZlXSIKZGVzY3JpcHRpb249ImR1bW15IGJhY2t3YXJkLWNvbXBhdGliaWxpdHkgcGFja2FnZSBmb3IgaXRlcmF0b3JzIgpyZXF1aXJlcz0iIgo=" ] ] opam-version: "2.0" installed: [ "base-bigarray.base" "base-threads.base" "base-unix.base" "cmdliner.1.2.0" "ocaml.4.14.1" "ocaml-base-compiler.4.14.1" "ocaml-config.2" "ocaml-options-vanilla.1" "seq.base" ] package "base-bigarray" { opam-version: "2.0" version: "base" synopsis: "" description: "Bigarray library distributed with the OCaml compiler" maintainer: "https://github.com/ocaml/opam-repository/issues" } package "base-threads" { opam-version: "2.0" version: "base" synopsis: "" description: "Threads library distributed with the OCaml compiler" maintainer: "https://github.com/ocaml/opam-repository/issues" } package "base-unix" { opam-version: "2.0" version: "base" synopsis: "" description: "Unix library distributed with the OCaml compiler" maintainer: "https://github.com/ocaml/opam-repository/issues" } package "cmdliner" { opam-version: "2.0" version: "1.2.0" synopsis: "Declarative definition of command line interfaces for OCaml" description: """\ Cmdliner allows the declarative definition of command line interfaces for OCaml. It provides a simple and compositional mechanism to convert command line arguments to OCaml values and pass them to your functions. The module automatically handles syntax errors, help messages and UNIX man page generation. It supports programs with single or multiple commands and respects most of the [POSIX][1] and [GNU][2] conventions. Cmdliner has no dependencies and is distributed under the ISC license. [1]: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html [2]: http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html Home page: http://erratique.ch/software/cmdliner""" maintainer: "Daniel Bünzli " authors: "The cmdliner programmers" license: "ISC" tags: ["cli" "system" "declarative" "org:erratique"] homepage: "https://erratique.ch/software/cmdliner" doc: "https://erratique.ch/software/cmdliner/doc" bug-reports: "https://github.com/dbuenzli/cmdliner/issues" depends: [ "ocaml" {>= "4.08.0"} ] build: [make "all" "PREFIX=%{prefix}%"] install: [ [make "install" "LIBDIR=%{_:lib}%" "DOCDIR=%{_:doc}%"] [make "install-doc" "LIBDIR=%{_:lib}%" "DOCDIR=%{_:doc}%"] ] dev-repo: "git+https://erratique.ch/repos/cmdliner.git" url { src: "https://erratique.ch/software/cmdliner/releases/cmdliner-1.2.0.tbz" checksum: "sha512=6fcd6a59a6fbc6986b1aecdc3e4ce7a0dc43c65a16b427d6caa5504b10b51384f6b0bc703af646b09f5f1caeb6827b37d4480ce350ca8006204c850785f2810b" } } package "ocaml" { opam-version: "2.0" version: "4.14.1" synopsis: "The OCaml compiler (virtual package)" description: """\ This package requires a matching implementation of OCaml, and polls it to initialise specific variables like `ocaml:native-dynlink`""" maintainer: "platform@lists.ocaml.org" authors: [ "Xavier Leroy" "Damien Doligez" "Alain Frisch" "Jacques Garrigue" "Didier Rémy" "Jérôme Vouillon" ] license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" homepage: "https://ocaml.org" bug-reports: "https://github.com/ocaml/opam-repository/issues" depends: [ "ocaml-config" {>= "2"} "ocaml-base-compiler" {>= "4.14.1~" & < "4.14.2~"} | "ocaml-variants" {>= "4.14.1~" & < "4.14.2~"} | "ocaml-system" {>= "4.14.1" & < "4.14.2~"} ] flags: conf setenv: [ [CAML_LD_LIBRARY_PATH = "%{_:stubsdir}%"] [CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"] [OCAML_TOPLEVEL_PATH = "%{toplevel}%"] ] build: [ "ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name ] build-env: CAML_LD_LIBRARY_PATH = "" } package "ocaml-base-compiler" { opam-version: "2.0" version: "4.14.1" synopsis: "Official release 4.14.1" maintainer: "platform@lists.ocaml.org" authors: "Xavier Leroy and many contributors" license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" homepage: "https://ocaml.org" bug-reports: "https://github.com/ocaml/opam-repository/issues" depends: [ "ocaml" {= "4.14.1" & post} "base-unix" {post} "base-bigarray" {post} "base-threads" {post} "ocaml-options-vanilla" {post} ] conflict-class: "ocaml-core-compiler" flags: compiler setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" build: [ [ "./configure" "--prefix=%{prefix}%" "--docdir=%{doc}%/ocaml" "-C" "CC=cc" {os = "openbsd" | os = "macos"} "ASPP=cc -c" {os = "openbsd" | os = "macos"} ] [make "-j%{jobs}%"] ] install: [make "install"] post-messages: [ """\ A failure in the middle of the build may be caused by build parallelism (enabled by default). Please file a bug report at https://github.com/ocaml/opam-repository/issues""" {failure & jobs > "1"} """\ You can try installing again including --jobs=1 to force a sequential build instead.""" {failure & jobs > "1" & opam-version >= "2.0.5"} ] dev-repo: "git+https://github.com/ocaml/ocaml" extra-files: [ "ocaml-base-compiler.install" "md5=3e969b841df1f51ca448e6e6295cb451" ] url { src: "https://github.com/ocaml/ocaml/archive/4.14.1.tar.gz" checksum: "sha256=776006e6f0b9bcfb6d9d74381c588e587432ca85562fde93bb80472a5145b028" } } package "ocaml-config" { opam-version: "2.0" version: "2" synopsis: "OCaml Switch Configuration" description: "This package is used by the OCaml package to set-up its variables." maintainer: "platform@lists.ocaml.org" authors: [ "Louis Gesbert " "David Allsopp " ] homepage: "https://opam.ocaml.org/" bug-reports: "https://github.com/ocaml/opam/issues" depends: [ "ocaml-base-compiler" {>= "4.12.0~"} | "ocaml-variants" {>= "4.12.0~"} | "ocaml-system" {>= "4.12.0~"} ] substs: "gen_ocaml_config.ml" extra-files: [ ["gen_ocaml_config.ml.in" "md5=a4b41e3236593d8271295b84b0969172"] ["ocaml-config.install" "md5=8e50c5e2517d3463b3aad649748cafd7"] ] } package "ocaml-options-vanilla" { opam-version: "2.0" version: "1" synopsis: "Ensure that OCaml is compiled with no special options enabled" maintainer: "platform@lists.ocaml.org" depends: [ "ocaml-base-compiler" {post} | "ocaml-system" {post} | "ocaml-variants" {post & >= "4.12.0~"} ] conflicts: [ "ocaml-option-32bit" "ocaml-option-afl" "ocaml-option-bytecode-only" {arch = "arm64" | arch = "x86_64"} "ocaml-option-default-unsafe-string" "ocaml-option-flambda" "ocaml-option-fp" "ocaml-option-musl" "ocaml-option-no-flat-float-array" "ocaml-option-no-compression" "ocaml-option-spacetime" "ocaml-option-static" "ocaml-option-nnp" "ocaml-option-nnpchecker" "ocaml-option-address-sanitizer" "ocaml-option-leak-sanitizer" "ocaml-option-tsan" ] flags: compiler } package "seq" { opam-version: "2.0" version: "base" synopsis: "Compatibility package for OCaml's standard iterator type starting from 4.07." maintainer: " " authors: " " homepage: " " bug-reports: "https://caml.inria.fr/mantis/main_page.php" depends: [ "ocaml" {>= "4.07.0"} ] dev-repo: "git+https://github.com/ocaml/ocaml.git" extra-files: [ ["seq.install" "md5=026b31e1df290373198373d5aaa26e42"] ["META.seq" "md5=b33c8a1a6c7ed797816ce27df4855107"] ] }