-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
43 lines (43 loc) · 1.37 KB
/
opam
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
opam-version: "2.0"
synopsis: "Ergonomic, lightweight conditional compilation through attributes"
description:
"Config implements the [@@config] annotation, to conditionally compile modules. You can use a small boolean language to check for conditions including some built-in ones and environment variables."
maintainer: ["Leandro Ostera <leandro@abstractmachines.dev>"]
authors: ["Leandro Ostera <leandro@abstractmachines.dev>"]
license: "MIT"
tags: [
"conditional" "compilation" "target_os" "target_arch" "arch" "os" "system"
]
homepage: "https://github.com/ocaml-sys/config.ml"
bug-reports: "https://github.com/ocaml-sys/config.ml/issues"
depends: [
"ocaml" {< "5.2~~" & with-test}
"ppxlib" {>= "0.31.0"}
"spices" {>= "0.0.2"}
"dune" {>= "3.11"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/ocaml-sys/config.ml.git"
url {
src:
"https://github.com/ocaml-sys/config.ml/releases/download/0.0.3/config-0.0.3.tbz"
checksum: [
"sha256=6dc4427cb5f6ae8f2f9d04c9897d9a606242f9e0f6eaf90fca731883cd7b6053"
"sha512=a3f81bf8975f6f8d69c8c1b4cc041f37be19b311797573f960afaf21beac99292e255c87ee661f40be8e5f1aaf27a64754e0a6155ef0f9785024cea0c17f8eb9"
]
}
x-commit-hash: "1cbc2d439d86969cf15771e45b7fbd9866bae129"