From 5d7927e392e70436aaca1f8261e5d4ab8e4ec8f8 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Wed, 23 Oct 2024 18:50:46 -0500 Subject: T6718: update build system, drop batteries, and adjust for lib changes Update as needed for use with contemporary vyos1x-config: . update build system to use dune . drop use of batteries . update for protoc breaking changes in versions >= 3.0 . remove files now in vyos1x-config (config_tree et. al.; parsing) --- vyconf.opam | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 vyconf.opam (limited to 'vyconf.opam') diff --git a/vyconf.opam b/vyconf.opam new file mode 100644 index 0000000..68e8d45 --- /dev/null +++ b/vyconf.opam @@ -0,0 +1,32 @@ +opam-version: "2.0" +name: "vyconf" +version: "0.1" +maintainer: "Daniil Baturin " +authors: "VyOS maintainers and contributors " +homepage: "https://github.com/vyos/vyconf" +bug-reports: "https://phabricator.vyos.net" +license: "LGPL with OCaml linking exception" +description: "An appliance configuration framework" +dev-repo: "git+https://github.com/vyos/vyconf/" +build: [ + ["dune" "subst"] {pinned} + ["dune" "build" "-p" name] +] +depends: [ + "menhir" {build} + "dune" {build & >= "1.4.0"} + "ocaml-protoc" {build} + "ounit" {build} + "lwt" {build & >= "4.1.0"} + "lwt_ppx" {build} + "lwt_log" {build} + "fileutils" {build} + "ppx_deriving" {build} + "ppx_deriving_yojson" {build} + "ocplib-endian" {build} + "xml-light" {build} + "toml" {build} + "sha" {build} + "pcre" {build} +] +available: ocaml-version >= "4.14.2" -- cgit v1.2.3