summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authoraecepoglu <aecepoglu@fastmail.fm>2021-01-11 23:55:33 +0300
committerJulien Lepiller <julien@lepiller.eu>2021-01-12 15:02:11 +0100
commit564cbfd99fd9d5bd462b33edb2af071ca3a4a5a1 (patch)
tree1572bcce968a31dd8c16c9f43bd4cdeff4b84fae /gnu
parentb6529e189688ac8bc17c11cf24304fc554f5cb9b (diff)
ocaml: Add ocaml-ocp-index.
* gnu/packages/ocaml.scm (ocaml-ocp-index): New variable. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ocaml.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7528e9d5fe3..4294d25efd9 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2401,6 +2401,39 @@ This package includes:
2401 fault-tolerant and approximate parsing. 2401 fault-tolerant and approximate parsing.
2402@end itemize") 2402@end itemize")
2403 (license license:lgpl2.1))) 2403 (license license:lgpl2.1)))
2404
2405(define-public ocaml-ocp-index
2406 (package
2407 (name "ocaml-ocp-index")
2408 (version "1.2.1")
2409 (source
2410 (origin
2411 (method git-fetch)
2412 (uri (git-reference
2413 (url "https://github.com/OCamlPro/ocp-index")
2414 (commit version)))
2415 (file-name (git-file-name name version))
2416 (sha256
2417 (base32
2418 "08r7mxdnxmhff37fw4hmrpjgckgi5kaiiiirwp4rmdl594z0h9c8"))))
2419 (build-system dune-build-system)
2420 (arguments
2421 `(#:package "ocp-index"))
2422 (propagated-inputs
2423 `(("ocaml-ocp-indent" ,ocaml-ocp-indent)
2424 ("ocaml-re" ,ocaml-re)
2425 ("ocaml-cmdliner" ,ocaml-cmdliner)))
2426 (native-inputs
2427 `(("ocaml-cppo" ,ocaml-cppo)))
2428 (home-page "https://www.typerex.org/ocp-index.html")
2429 (synopsis "Lightweight completion and documentation browsing for OCaml libraries")
2430 (description "This package includes only the @code{ocp-index} library
2431and command-line tool.")
2432 ;; All files in libs/ are GNU lgpl2.1
2433 ;; For static linking, clause 6 of LGPL is lifted
2434 ;; All other files under GNU gpl3
2435 (license (list license:gpl3+
2436 license:lgpl2.1+))))
2404 2437
2405(define-public ocaml-ocurl 2438(define-public ocaml-ocurl
2406 (package 2439 (package