description: "A syntax extension for importing declarations from interface files"
synopsis: "A syntax extension for importing declarations from interface files"
opam-version: "2.0"
maintainer: "whitequark <whitequark@whitequark.org>"
authors: [ "whitequark <whitequark@whitequark.org>" ]
homepage: "https://github.com/ocaml-ppx/ppx_import"
doc: "https://ocaml-ppx.github.io/ppx_import/"
license: "MIT"
bug-reports: "https://github.com/ocaml-ppx/ppx_import/issues"
dev-repo: "git+https://github.com/ocaml-ppx/ppx_import.git"
tags: [ "syntax" ]

depends: [
  "ocaml"                   {              >= "4.04.2" }
  "dune"                    {              >= "1.2.0"  }
  "ppxlib"                  {              >= "0.3.1"  }
  "ppx_tools_versioned"     {              >= "5.2.2"  }
  "ocaml-migrate-parsetree" {              >= "1.2.0"   & < "2.0.0"}
  "ounit"                   { with-test                }
  "ppx_deriving"            { with-test  & >= "4.2.1"  }
]

build:      [["dune" "build"   "-p" name "-j" jobs]
             ["dune" "runtest" "-p" name "-j" jobs] { with-test }
            ]
url {
  src:
    "https://github.com/ocaml-ppx/ppx_import/releases/download/v1.7.1/ppx_import-v1.7.1.tbz"
  checksum: [
    "sha256=9b48c45e60727e51b1a9c49d86e73bf4efe2ad19d81f85732ae67b7d96ebbe99"
    "sha512=087a61d828a9de31c279d3810ae9db4e9e0b65d22975ba07bc26ad51578bce9475077d34631ad4d2602a783d1febd2bbf38cde042ea43c5bed630c6720028346"
  ]
}
