-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
44 lines (44 loc) · 1.09 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
opam-version: "2.0"
maintainer: "n.oje.bar@gmail.com"
authors: [ "Nicolas Ojeda Bar <n.oje.bar@gmail.com>" ]
license: "MIT"
build: [
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
["ocaml" "setup.ml" "-build"]
]
remove: [
["ocamlfind" "remove" "bt"]
]
depends: [
"ocaml" {>= "4.01.0"}
"bitstring"
"cmdliner"
"cohttp" {>= "0.11.2" & < "0.99"}
"cryptokit"
"lwt" {< "2.4.7"}
"ocamlfind"
"qcheck"
"uri"
"zarith"
"ssl"
"ocamlbuild" {build}
]
dev-repo: "git+https://github.com/nojb/ocaml-bt"
install: ["ocaml" "setup.ml" "-install"]
synopsis: "BitTorrent library and client using Lwt"
flags: light-uninstall
url {
src: "https://github.com/nojb/ocaml-bt/archive/v0.2.tar.gz"
checksum: [
"sha256=7476debdc68699b07fbe9ca262d29ccf6ec0582322b04058ca257da09a41e431"
"md5=79877dd825fa6933b73fa5cb237a5238"
]
}
extra-source "bt.install" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/bt/bt.install"
checksum: [
"sha256=a8f80b94c3f52c1bd54d96975befd95d5fa45b8b5145f9b81cb7c603d0a7ae77"
"md5=3930cb93cfa27b2c88967c9994751b4a"
]
}