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.1.tar.gz"
53 checksum: [
54 "md5=70db6649a8c08a682ad63730c9752e31"
55 "sha512=565353de333dd44375366fff75e85a6256c3cd9ff52b3db79803141f975e77cda04dfe32f5e0f2d4c82c59be8f04e9c2bf4d066b113b2cdf267f4c3dcfa401da"
56 ]
57}