/
opam
49 lines (47 loc) · 1.36 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
opam-version: "2.0"
homepage: "https://github.com/hannesm/ocaml-otr"
dev-repo: "git+https://github.com/hannesm/ocaml-otr.git"
bug-reports: "https://github.com/hannesm/ocaml-otr/issues"
authors: ["Hannes Mehnert <hannes@mehnert.org>"]
maintainer: ["Hannes Mehnert <hannes@mehnert.org>"]
license: "BSD-2-Clause"
build: [
[
"ocaml"
"pkg/build.ml"
"native=%{ocaml:native}%"
"native-dynlink=%{ocaml:native-dynlink}%"
]
[
"ocaml"
"pkg/build.ml"
"native=%{ocaml:native}%"
"native-dynlink=%{ocaml:native-dynlink}%"
] {with-test}
[
"sh"
"-exc"
"if test -f ./feedback.native; then ./feedback.native; else ./feedback.byte; fi"
] {with-test}
]
depends: [
"ocaml" {>= "4.01.0" & < "4.03"}
"ocamlfind" {build}
"cstruct" {>= "1.6.0" & < "2.0.0"}
"type_conv"
"sexplib" {< "113.01.00"}
"nocrypto" {>= "0.5.0" & < "0.5.3"}
"astring"
"ocamlbuild" {build}
]
synopsis: "Off-the-record in pure OCaml"
description: """
This is an implementation of version 2 and 3 of the Off-the-record
protocol (https://otr.cypherpunks.ca/Protocol-v3-4.0.0.html) in OCaml.
Including the socialist millionairs protocol to authenticate a
communication partner over an encrypted channel providing a shared
secret."""
url {
src: "https://github.com/hannesm/ocaml-otr/archive/0.3.0.tar.gz"
checksum: "md5=3317419727ff8a8d577bc13647263e6d"
}