-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
41 lines (41 loc) · 1.51 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
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: [
["oasis" "setup"]
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
["ocaml" "setup.ml" "-build"]
["oasis" "setup"] {with-test}
["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"}
"oasis" {build & >= "0.4.7"} | "oasis-mirage" {build & >= "0.4.7"}
"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.2.tar.gz"
checksum: [
"sha256=65f639e3cb0b2357f30e661608add1e75653854c89bc841767353786e1a62025"
"md5=cdca2d97b7a0a8c9c29275b37a8718ed"
]
}