-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
35 lines (33 loc) · 943 Bytes
/
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
opam-version: "2.0"
maintainer: "sheets@alum.mit.edu"
tags: ["org:mirage"]
build: [
[make] {os != "freebsd"}
["env" "IS_FREEBSD=true" make] {os = "freebsd"}
]
remove: [["ocamlfind" "remove" "sodium"]]
depends: [
"ocaml" {>= "4.01.0"}
"base-bigarray"
"base-bytes"
"ocamlfind"
"ctypes" {>= "0.3.2" & < "0.4.0"}
"ocamlbuild" {build}
"conf-libsodium"
]
dev-repo: "git+https://github.com/dsheets/ocaml-sodium"
install: [make "PREFIX=%{prefix}%" "install"]
synopsis: "Binding to libsodium UNAUDITED"
description: """
Binding to libsodium 0.6.1+, a shared library wrapper for djb's NaCl.
Binding uses ctypes' stub generation system. GNU/Linux, FreeBSD, and OS
X are supported.
UNAUDITED"""
flags: light-uninstall
url {
src: "https://github.com/dsheets/ocaml-sodium/archive/0.3.0.tar.gz"
checksum: [
"sha256=b89dec7094d6361d59e7a82ea7a2022a1d308f1206bf0400679197df39555509"
"md5=7dafca32822d88e229648cec369bcc7e"
]
}