/
opam
36 lines (36 loc) · 1.32 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
opam-version: "2.0"
maintainer: "Jan Rochel <jan@besport.com>"
authors: "Jan Rochel (BeSport)"
homepage: "https://github.com/ocsigen/resource-pooling"
bug-reports: "https://github.com/ocsigen/resource-pooling/issues"
license: "MIT"
dev-repo: "git+https://github.com/ocsigen/resource-pooling.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" "resource-pooling"]
depends: [
"ocaml" {>= "4.02"}
"lwt" {>= "2.4.7" & < "4.0.0"}
"lwt_log"
"ocamlbuild" {build}
"ocamlfind" {build}
]
synopsis:
"library for pooling resources like connections, threads, or similar"
description: """
This package is derived from the module Lwt_pool from the lwt package,
which implements resource pooling. With Resource_pool this package
provides a modified version with additional features. Also there is a
module called Server_pool that manages resource clusters, specifically
a cluster of servers each with its own connection pool."""
flags: light-uninstall
url {
src: "https://github.com/ocsigen/resource-pooling/archive/0.3.1.tar.gz"
checksum: "md5=bc6fbbcf31dd5535c1c063ad61d6fbbe"
}