-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
38 lines (38 loc) · 1.29 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
opam-version: "2.0"
maintainer: "David Kaloper Meršinjak <dk505@cam.ac.uk>"
authors: ["David Kaloper Meršinjak <dk505@cam.ac.uk>"]
homepage: "https://github.com/pqwy/lru"
doc: "https://pqwy.github.io/lru/doc"
license: "ISC"
dev-repo: "git+https://github.com/pqwy/lru.git"
bug-reports: "https://github.com/pqwy/lru/issues"
synopsis: "Scalable LRU caches"
build: [ [ "dune" "subst" ] {dev}
[ "dune" "build" "-p" name "-j" jobs ]
[ "dune" "runtest" "-p" name ] {with-test} ]
depends: [
"ocaml" {>="5.0"}
"dune" {>="1.7"}
"psq" {="0.2.0"}
"qcheck-core" {with-test}
"qcheck-alcotest" {with-test}
"alcotest" {with-test}
]
description: """
Lru provides weight-bounded finite maps that can remove the least-recently-used
(LRU) bindings in order to maintain a weight constraint.
"""
url {
src: "https://github.com/pqwy/lru/releases/download/v0.3.0/lru-v0.3.0.tbz"
checksum: [
"sha256=84efe3e123c89e2622f973eef4483fbfc0943c27844a0e3aa2b504cc4ecb69a9"
"md5=ecaa8c9f5f708879140961ce35bcdba4"
]
}
patches: ["hashtbl-seeded.patch"]
extra-source "hashtbl-seeded.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/lru/hashtbl-seeded.patch"
checksum:
"sha256=c3b749d802a7f1157af5e6096d66485bd19191bc33c0abd7c715dde0be9d8b22"
}