|
| 1 | +opam-version: "2.0" |
| 2 | +synopsis: |
| 3 | + "Compiler and library for the literate programming language for tax code specification" |
| 4 | +description: """ |
| 5 | +Catala is a domain-specific language for deriving faithful-by-construction algorithms from legislative texts. See https://catala-lang.org for more information |
| 6 | +""" |
| 7 | + |
| 8 | +authors: [ |
| 9 | + "Vincent Botbol" |
| 10 | + "Nicolas Chataing" |
| 11 | + "Alain Delaët-Tixeuil" |
| 12 | + "Louis Gesbert" |
| 13 | + "Aymeric Fromherz" |
| 14 | + "Denis Merigoux" |
| 15 | + "Raphaël Monat" |
| 16 | + "Romain Primet" |
| 17 | + "Emile Rolley" |
| 18 | +] |
| 19 | +license: "Apache-2.0" |
| 20 | +tags: [ "catala" ] |
| 21 | +homepage: "https://github.com/CatalaLang/catala" |
| 22 | +bug-reports: "https://github.com/CatalaLang/catala/issues" |
| 23 | +depends: [ |
| 24 | + "ocaml" {>= "4.14.0" } |
| 25 | + "ocamlfind" {!= "1.9.5"} |
| 26 | + "dune" {>= "3.13"} |
| 27 | + "cppo" {>= "1"} |
| 28 | + "menhir" {>= "20200211"} |
| 29 | + "menhirLib" {>= "20200211"} |
| 30 | + "ocolor" {>= "1.3.0"} |
| 31 | + "bindlib" {>= "6.0"} |
| 32 | + "cmdliner" {>= "1.1.0"} |
| 33 | + "ocamlgraph" {>= "1.8.8"} |
| 34 | + "re" {>= "1.11"} |
| 35 | + "sedlex" {>= "3.2"} |
| 36 | + "uucp" {>= "10"} |
| 37 | + "ubase" {>= "0.05"} |
| 38 | + "zarith" {>= "1.12"} |
| 39 | + "yojson" {>= "2.1.0"} |
| 40 | + "crunch" {>= "3.0.0"} |
| 41 | + "alcotest" {>= "1.5.0"} |
| 42 | + "ninja_utils" {= "0.9.0"} |
| 43 | + "otoml" {>= "1.0"} |
| 44 | + "odoc" {with-doc} |
| 45 | + "ocamlformat" {with-dev-setup & = "0.26.0"} |
| 46 | + "obelisk" {with-dev-setup} |
| 47 | + "conf-ninja" {post} |
| 48 | + # --- the following are "optional runtime dependencies" --- |
| 49 | + # they're listed here mostly for documentation ; one can export |
| 50 | + # OPAMVAR_cataladevmode=1 before installation to automatically get them |
| 51 | + "conf-npm" {post & ?cataladevmode & cataladevmode} |
| 52 | + "conf-python-3-dev" {post & ?cataladevmode & cataladevmode} |
| 53 | + "conf-openjdk" {post & ?cataladevmode & cataladevmode} |
| 54 | + "conf-pandoc" {post & ?cataladevmode & cataladevmode} |
| 55 | + "z3" {post & ?cataladevmode & cataladevmode} |
| 56 | +] |
| 57 | +depopts: ["z3"] |
| 58 | +conflicts: [ |
| 59 | + "z3" {< "4.8.11"} |
| 60 | +] |
| 61 | +build: [ |
| 62 | + "dune" "build" "-p" name "-j" jobs "@install" |
| 63 | + "@runtest" {with-test} |
| 64 | + "@doc" {with-doc} |
| 65 | +] |
| 66 | +depexts: [ |
| 67 | + ["groff"] {with-doc} |
| 68 | + # --- the following are "optional runtime dependencies" --- |
| 69 | + # See above |
| 70 | + ["python3-pip"] {?cataladevmode & cataladevmode & os-family = "debian"} |
| 71 | + ["py3-pip" "py3-pygments"] {?cataladevmode & cataladevmode & os-distribution = "alpine"} |
| 72 | + ["python-pygments"] {?cataladevmode & cataladevmode & os-family = "arch"} |
| 73 | +] |
| 74 | +dev-repo: "git+https://github.com/CatalaLang/catala" |
| 75 | +url { |
| 76 | + src: |
| 77 | + "https://github.com/CatalaLang/catala/archive/refs/tags/1.0.0-beta.tar.gz" |
| 78 | + checksum: [ |
| 79 | + "md5=c41cbc1fa003e167bbc0bb1cd7723ab3" |
| 80 | + "sha512=1e07951e2d73040bc0bea89f04bcb50c3a533323a7c7d8bac9ee9aa6be5233f795a32857421d04f17e52a841057cdc78b33f79fa239a17dd12de97a738c81999" |
| 81 | + ] |
| 82 | +} |
0 commit comments