this repo has no description
1opam-version: "2.0"
2maintainer: "contact@ocamlpro.com"
3synopsis: "A simple tool to indent OCaml programs"
4description: """
5Ocp-indent is based on an approximate, tolerant OCaml parser and a simple stack
6machine ; this is much faster and more reliable than using regexps. Presets and
7configuration options available, with the possibility to set them project-wide.
8Supports most common syntax extensions, and extensible for others.
9
10Includes:
11- An indentor program, callable from the command-line or from within editors
12- Bindings for popular editors
13- A library that can be directly used by editor writers, or just for
14 fault-tolerant/approximate parsing.
15"""
16authors: [
17 "Louis Gesbert <louis.gesbert@ocamlpro.com>"
18 "Thomas Gazagnaire <thomas@gazagnaire.org>"
19 "Jun Furuse"
20]
21homepage: "http://www.typerex.org/ocp-indent.html"
22bug-reports: "https://github.com/OCamlPro/ocp-indent/issues"
23license: "LGPL-2.0-or-later"
24tags: ["org:ocamlpro" "org:typerex"]
25dev-repo: "git+https://github.com/OCamlPro/ocp-indent.git"
26build: [
27 ["dune" "build" "-p" name "-j" jobs]
28]
29run-test: [
30 ["dune" "runtest" "-p" name]
31]
32depends: [
33 "ocaml"
34 "dune"
35 "cmdliner" {>= "1.0.0" & < "2.0.0"}
36 "ocamlfind"
37 "base-bytes"
38]
39post-messages: [
40 "This package requires additional configuration for use in editors. Install package 'user-setup', or manually:
41
42* for Emacs, add these lines to ~/.emacs:
43 (add-to-list 'load-path \"%{share}%/emacs/site-lisp\")
44 (require 'ocp-indent)
45
46* for Vim, add this line to ~/.vimrc:
47 set rtp^=\"%{share}%/ocp-indent/vim\"
48"
49 {success & !user-setup:installed}
50]
51url {
52 src: "https://github.com/OCamlPro/ocp-indent/archive/1.7.0.tar.gz"
53 checksum: [
54 "md5=3bc327e38f453f38494098725c97d2cb"
55 "sha512=5b28ae8695612c95cb0f5748de9b9f01d8ef4ad18b31340dc526ccae5fb1b6ee7e12024ff1beb817a43796183a83bca144222ca2d77d7750f2ff56108b5fa350"
56 ]
57}