forked from ahrefs/ocaml-sodium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsodium.opam
42 lines (42 loc) · 1.27 KB
/
sodium.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
opam-version: "2.0"
version: "dev"
maintainer: "[email protected]"
authors: [
"David Sheets <[email protected]>"
"Peter Zotov <[email protected]>"
"Benjamin Canou <[email protected]>"
]
homepage: "https://github.com/dsheets/ocaml-sodium/"
bug-reports: "https://github.com/dsheets/ocaml-sodium/issues/"
dev-repo: "git+https://github.com/dsheets/ocaml-sodium.git"
tags: ["org:mirage"]
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest"] {with-test}
]
depends: [
"ocaml" {>= "4.01.0"}
"dune" {build & >= "1.5"}
"base-bigarray"
"base-bytes"
"ocamlfind" {build}
"ocamlbuild" {build}
"ctypes" {>= "0.13.0"}
"ounit2" {with-test & >= "2.2.6"}
]
depexts: [
["libsodium-dev"] {os-family = "debian"}
["security/libsodium"] {os-family = "freebsd"}
["libsodium"] {os-distribution = "homebrew" & os = "macos"}
]
post-messages: [
"This package requires installation of libsodium-dev (>= 1.0.9)"
{ failure & os = "debian" }
"This package requires installation of libsodium-dev (>= 1.0.9)"
{ failure & os = "ubuntu" }
"This package requires installation of security/libsodium (>= 1.0.9)"
{ failure & os = "freebsd" }
"This package requires installation of libsodium (>= 1.0.9)"
{ failure & os = "macos" }
]