/
opam
52 lines (51 loc) · 1.48 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
44
45
46
47
48
49
50
51
52
opam-version: "2.0"
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
synopsis:
"The opam-bin tool is a simple framework to use `opam` with binary packages"
description: """
opam-binary is a simple framework to use `opam` with binary packages.
"""
authors: ["Fabrice Le Fessant <fabrice.le_fessant@origin-labs.com>"]
maintainer: ["Fabrice Le Fessant <fabrice.le_fessant@origin-labs.com>"]
homepage: "https://ocamlpro.github.io/opam-bin"
doc: "https://ocamlpro.github.io/opam-bin/."
bug-reports: "https://github.com/ocamlpro/opam-bin/issues"
dev-repo: "git+https://github.com/ocamlpro/opam-bin.git"
tags: "org:ocamlpro"
build: [
["dune" "subst"] {dev}
["sh" "-c" "./scripts/before.sh build '%{name}%'"]
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
["sh" "-c" "./scripts/after.sh build '%{name}%'"]
]
install: [
["sh" "-c" "./scripts/before.sh install '%{name}%'"]
]
depends: [
"ocaml" {>= "4.07.0"}
"dune" {>= "2.6.0"}
"re" {> "1.0"}
"ezjsonm" {>= "1.0.0" & < "2.0.0"}
"ez_opam_file" {>= "0.1.0" & < "1.0.0"}
"ez_file" {>= "0.2.0" & < "0.3.0"}
"ez_config" {>= "0.1.0" & < "1.0.0"}
"ez_cmdliner" {>= "0.1.0" & < "1.0.0"}
"ppx_inline_test" {with-test}
"ppx_expect" {with-test}
"odoc" {with-doc}
"ocamlformat" {with-test}
]
url {
src: "https://github.com/ocamlpro/opam-bin/archive/v1.1.0.tar.gz"
checksum: [ "sha256=55ebfb95074b67aec5907bcce4fef239777ec48ec4e4e23eb804bbac66aff32b" ]
}