-
Notifications
You must be signed in to change notification settings - Fork 97
Expand file tree
/
Copy pathcatala.opam
More file actions
80 lines (80 loc) · 2.64 KB
/
catala.opam
File metadata and controls
80 lines (80 loc) · 2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
opam-version: "2.0"
version: "1.1.0"
synopsis:
"Compiler and library for the literate programming language for tax code specification"
description: """
Catala is a domain-specific language for deriving faithful-by-construction algorithms from legislative texts. See https://catala-lang.org for more information
"""
maintainer: "contact@catala-lang.org"
authors: [
"Vincent Botbol"
"Nicolas Chataing"
"Alain Delaët-Tixeuil"
"Louis Gesbert"
"Aymeric Fromherz"
"Denis Merigoux"
"Raphaël Monat"
"Romain Primet"
"Emile Rolley"
]
license: "Apache-2.0"
tags: [ "catala" ]
homepage: "https://github.com/CatalaLang/catala"
bug-reports: "https://github.com/CatalaLang/catala/issues"
depends: [
"ocaml" {>= "4.14.0" }
"ocamlfind" {!= "1.9.5"}
"dune" {>= "3.13"}
"cppo" {>= "1"}
"menhir" {>= "20200211" & < "20260112"}
# See https://github.com/CatalaLang/catala/issues/939 for the upper bound
"menhirLib" {>= "20200211" & < "20260112"}
"ocolor" {>= "1.3.0"}
"bindlib" {>= "6.0"}
"cmdliner" {>= "1.1.0"}
"ocamlgraph" {>= "1.8.8"}
"re" {>= "1.11"}
"sedlex" {>= "3.2"}
"uucp" {>= "10"}
"ubase" {>= "0.05"}
"zarith" {>= "1.12"}
"yojson" {>= "2.1.0" & < "3"}
# Not a strict upper bound for catala, but other tools (adgen) have it and we
# don't want them to need a catala recompile
"crunch" {>= "3.0.0"}
"hex" { >= "1.5.0"}
"alcotest" {>= "1.5.0"}
"ninja_utils" {= "1.0.0"}
"otoml" {>= "1.0"}
"json-data-encoding" { >= "1.0.1" }
"testo-diff"
"odoc" {with-doc}
"ocamlformat" {?cataladevmode & cataladevmode & = "0.28.1"}
"obelisk" {?cataladevmode & cataladevmode}
"conf-ninja" {post}
# --- the following are "optional runtime dependencies" ---
# they're listed here mostly for documentation ; one can export
# OPAMVAR_cataladevmode=1 before installation to automatically get them
"conf-npm" {post & ?cataladevmode & cataladevmode}
"conf-python-3-dev" {post & ?cataladevmode & cataladevmode}
"conf-openjdk" {post & ?cataladevmode & cataladevmode}
"conf-pandoc" {post & ?cataladevmode & cataladevmode}
]
build: [
"dune" "build" "-p" name "-j" jobs "@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
run-test: [
"dune" "exec" "--" "clerk" "test" "tests/"
]
build-env: [ CATALA_VERSION = "%{version}%" ]
depexts: [
["groff"] {with-doc}
# --- the following are "optional runtime dependencies" ---
# See above
["python3-pip"] {?cataladevmode & cataladevmode & os-family = "debian"}
["py3-pip" "py3-pygments"] {?cataladevmode & cataladevmode & os-distribution = "alpine"}
["python-pygments"] {?cataladevmode & cataladevmode & os-family = "arch"}
]
dev-repo: "git+https://github.com/CatalaLang/catala"