opam-version: "2.0"
maintainer: "nv-vn <nv@cock.li>"
authors: "nv-vn <nv@cock.li>"
homepage: "https://github.com/nv-vn/ogen"
bug-reports: "https://github.com/nv-vn/ogen/issues"
license: "GPL-1.0-or-later"
dev-repo: "git+https://github.com/nv-vn/ogen.git"
build: [
  ["./configure" "--prefix=%{prefix}%"]
  [make]
]
install: ["cp" "./main.native" "%{bin}%/ogen"]
remove: ["rm" "%{bin}%/ogen"]
depends: [
  "ocaml"
  "ocamlfind" {build}
  "oasis" {build}
  "batteries" {>= "2.0.0" & < "3.0.0"}
  "linenoise" {>= "0.9.0" & < "1.0.0"}
  "ocaml-inifiles" {>= "1.2" & < "2.0"}
  "yojson" {>= "1.3.0" & < "2.0.0"}
  "ppx_blob" {>= "0.1" & < "0.2"}
  "ppx_deriving" {>= "3.0" & < "4.0"}
  "ppx_deriving_yojson" {>= "2.4" & < "3.0"}
]
synopsis:
  "A tool for creating new OCaml projects with OPAM, Oasis, and Merlin"
description: """
ogen is a command-line program to help generate some of the boilerplate involved
in creating OCaml projects, such as the opam, _oasis, and .merlin files. ogen
features a simple-to-use dialog that allows the user to input specific options for their
repository, as well as a number of additional commands that allow the user to set options
separately."""
flags: light-uninstall
url {
  src: "https://github.com/nv-vn/ogen/archive/v0.1.1.tar.gz"
  checksum: "md5=93bc86aefd0f387c8cc0bef587b46198"
}
