this repo has no description
1opam-version: "2.0"
2maintainer: "sheets@alum.mit.edu"
3authors: [
4 "David Sheets <sheets@alum.mit.edu>"
5 "Peter Zotov <whitequark@whitequark.org>"
6 "Benjamin Canou <benjamin@ocamlpro.com>"
7]
8homepage: "https://github.com/dsheets/ocaml-sodium/"
9bug-reports: "https://github.com/dsheets/ocaml-sodium/issues/"
10tags: "org:mirage"
11dev-repo: "git+https://github.com/dsheets/ocaml-sodium.git"
12build: [
13 [make] {os != "freebsd"}
14 [make "CFLAGS=-I/usr/local/include -L/usr/local/lib"] {os = "freebsd"}
15 [make "test"] {with-test & os != "freebsd"}
16 [make "CFLAGS=-I/usr/local/include -L/usr/local/lib" "test"]
17 {with-test & os = "freebsd"}
18]
19install: [
20 [make "PREFIX=%{prefix}%" "install"]
21]
22remove: ["ocamlfind" "remove" "sodium"]
23depends: [
24 "ocaml" {>= "4.01.0"}
25 "base-bigarray"
26 "base-bytes"
27 "ocamlfind" {build}
28 "conf-libsodium"
29 "ctypes" {>= "0.6.0" & < "0.18.0"}
30 "ocamlbuild" {build}
31 "ounit" {with-test}
32]
33post-messages: [
34 "This package requires installation of libsodium-dev (>= 1.0.9)"
35 {failure & os = "debian"}
36 "This package requires installation of libsodium-dev (>= 1.0.9)"
37 {failure & os = "ubuntu"}
38 "This package requires installation of libsodium-dev (>= 1.0.9)"
39 {failure & os = "alpine"}
40 "This package requires installation of security/libsodium (>= 1.0.9)"
41 {failure & os = "freebsd"}
42 "This package requires installation of libsodium (>= 1.0.9)"
43 {failure & os = "macos"}
44]
45synopsis: "Binding to libsodium UNAUDITED"
46description: """
47Binding to libsodium 1.0.9+, a shared library wrapper for djb's NaCl.
48
49Binding uses ctypes' stub generation system. GNU/Linux, FreeBSD, and OS
50X are supported.
51
52UNAUDITED"""
53flags: light-uninstall
54url {
55 src: "https://github.com/dsheets/ocaml-sodium/archive/0.6.0.tar.gz"
56 checksum: [
57 "sha256=6ee14d415a81a1e218da2d22e7ec6d5a31a9f20185b2929ecac44df0aa60343e"
58 "md5=c1e96c0f31fa12fad8b8b431eadc1601"
59 ]
60}