-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmmdb.opam
33 lines (31 loc) · 1.15 KB
/
mmdb.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
opam-version: "2.0"
homepage: "https://issuu.github.io/ocaml-mmdb"
dev-repo: "git+https://github.com/issuu/ocaml-mmdb.git"
bug-reports: "https://github.com/issuu/ocaml-mmdb/issues"
doc: "https://issuu.github.io/ocaml-mmdb/"
author: "Martin Slota <[email protected]>"
license: "Apache-2.0"
maintainer: "Team Platypus <[email protected]>"
build: [["dune" "build" "-p" name "-j" jobs]]
run-test: [["dune" "runtest" "-p" name "-j" jobs]]
depends: [
"alcotest" {with-test & >= "0.8.5"}
"base" {>= "v0.10"}
"conf-libmaxminddb"
"ctypes" {>= "0.14"}
"ctypes-foreign" {>= "0.4"}
"dune" {build & >= "1.6"}
"ocaml" {>= "4.04.1"}
"ppx_deriving" {>= "4.2"}
"ppx_let" {>= "v0.10"}
]
synopsis: "Binding to the MaxMind DB library for GeoIP lookups"
description: """
mmdb binds to the official MaxMind DB C library and allows looking up IPs to
their location.
It supports both the GeoLite2 dataset published by MaxMind under a permissive
Creative Commons Attribution-ShareAlike 4.0 International License as well as
the proprietary database offered by MaxMind.
Unlike other bindings this one uses the ctypes stub generation so it should be
less prone to leaking memory.
"""