-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
45 lines (45 loc) · 1.53 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
opam-version: "2.0"
maintainer: "Benoit Bataille <benoit.bataille@gmail.com>"
authors: [ "Benoit Bataille <benoit.bataille@gmail.com>" ]
license: "BSD-3-Clause"
homepage: "https://github.com/bataille/ocaml-transmission-rpc"
bug-reports: "https://github.com/bataille/ocaml-transmission-rpc/issues"
dev-repo: "git+https://github.com/bataille/ocaml-transmission-rpc.git"
build: [
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
["ocaml" "setup.ml" "-build"]
["ocaml" "setup.ml" "-configure" "--enable-tests"] {with-test}
["ocaml" "setup.ml" "-build"] {with-test}
["ocaml" "setup.ml" "-test"] {with-test}
]
install: ["ocaml" "setup.ml" "-install"]
remove: [
["ocamlfind" "remove" "transmission-rpc"]
]
depends: [
"ocaml"
"cohttp" {>= "0.13.0"}
"lwt"
"ocamlfind" {build}
"ppx_deriving"
"ppx_deriving_yojson" {>= "2.0" & < "3.0"}
"rresult"
"yojson"
]
synopsis: "A client library for the Transmission Bittorrent client RPC"
description: """
An OCaml client library for the Transmission Bittorrent client RPC
supporting all the available methods while remaining voluntarily close
to the interface specification. To each specified method corresponds a
function which take advantages of some OCaml niceties: labelled
arguments, optional arguments for optional parameters and variant
types."""
flags: light-uninstall
url {
src:
"https://github.com/bataille/ocaml-transmission-rpc/archive/1.0.tar.gz"
checksum: [
"sha256=a86fee568ac8d420332b3874b47b882b2e7094e6bfe7e96ea2a19f8cf9a4975e"
"md5=a1fd3f45728686185203c09d5d6c50f2"
]
}