this repo has no description
1opam-version: "2.0"
2maintainer: "Sylvain Le Gall <sylvain+ocaml@le-gall.net>"
3authors: [ "Sylvain Le Gall" ]
4license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
5homepage: "https://github.com/gildor478/ocaml-gettext"
6dev-repo: "git+https://github.com/gildor478/ocaml-gettext.git"
7bug-reports: "https://github.com/gildor478/ocaml-gettext/issues"
8doc: "https://gildor478.github.io/ocaml-gettext/"
9build: [
10 ["ocaml" "configure.ml"
11 "--with-defaultlocaledir" "%{lib}%/gettext/share/locale"
12 "--version" version]
13 ["dune" "build" "-p" name "-j" jobs
14 "@install"
15 "@doc" {with-doc}
16 "@runtest" {with-test} ]
17]
18depends: [
19 "ocaml" {>= "4.03.0" & < "4.11"}
20 "dune" {>= "1.11.0"}
21 "fileutils"
22 "ounit" {with-test & > "2.0.8" & < "2.2.6"}
23]
24synopsis: "Internationalization library (i18n)"
25description:"""
26This library enables string translation in OCaml. The API is based on GNU
27gettext. It comes with a tool to extract strings which need to be translated
28from OCaml source files.
29
30This enables OCaml program to output string in the native language of
31the user, if a corresponding translation file of the English strings is
32provided.
33"""
34url {
35 src:
36 "https://github.com/gildor478/ocaml-gettext/releases/download/v0.4.1/gettext-v0.4.1.tbz"
37 checksum: [
38 "sha256=a80408ff891ed22b5be7e8a5331f4b31e7b50dea482bff56abe73457aa379e5f"
39 "sha512=574530a0c0822b7e1d5772f1c58db92bb52c742432666deb1cc2291fbe603250fa61263df033eb88769c8d7e8bcbbd728c91379d0a5377cfe6026d83a9222fb8"
40 ]
41}