opam-version: "2.0"
maintainer: "opam-devel@lists.ocaml.org"
homepage:     "https://opam.ocaml.org/"
dev-repo: "git+https://github.com/ocaml/opam.git"
bug-reports:  "https://github.com/ocaml/opam/issues"
authors: [
   "Thomas Gazagnaire <thomas@gazagnaire.org>"
   "Anil Madhavapeddy   <anil@recoil.org>"
   "Fabrice Le Fessant  <Fabrice.Le_fessant@inria.fr>"
   "Frederic Tuong      <tuong@users.gforge.inria.fr>"
   "Louis Gesbert <louis.gesbert@ocamlpro.com>"
   "Guillem Rieu        <guillem.rieu@ocamlpro.com>"
   "Vincent Bernardoff  <vb@luminar.eu.org>"
   "Roberto Di Cosmo    <roberto@dicosmo.org>"
]
build: [
  ["./configure"]
  [make]
  [make "-C" "src" "../opam-lib.install"]
]
depends: [
  "ocaml"
  "ocamlgraph" {< "2.0.0"}
  "cmdliner"
  "dose3" {>= "5.0" & < "6.0"}
  "cudf"
  "re" {>= "1.2.0"}
  "ocamlfind" {build}
  "jsonm"
]
synopsis: "The OPAM library"
description: """
OPAM is The OCaml PAckage Manager. This package contains the OPAM
libraries, that may be used by external tools to access OPAM
installation, state and data.

Note: this version does not correspond to a released version of opam, but has
some improvements over the 1.2.2 opam-lib while retaining the compatibility with
the ~/.opam format; later versions (2.0) are no longer compatible. This can be
used as a first step for migration."""
url {
  src: "https://github.com/ocaml/opam/archive/1.3.1.tar.gz"
  checksum: "md5=e0688c0cf9a55f93ee93f62d07cf6b74"
}
