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.1-only WITH OCaml-LGPL-linking-exception"
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 "-j" jobs]
31]
32depends: [
33 "ocaml"
34 "dune" {>= "1.0"}
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.8.0.tar.gz"
53 checksum: [
54 "md5=d4d11e1aaedd7d3268ac7d5813de43ca"
55 "sha512=246a97f04b44371900a6f39eab34d9b674d6afa9026e78fce2ef171b5d28fcca0b49f353b2de9d09cb5529b896e47c253acc3074618060862e8a7debd9289afc"
56 ]
57}