Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (36 sloc) 1.29 KB
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/"
license: "Apache-2.0"
maintainer: "Team Platypus <platypus@issuu.com>"
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.
"""
authors: "Martin Slota <msl@issuu.com>"
url {
src:
"https://github.com/issuu/ocaml-mmdb/releases/download/0.2.1/mmdb-0.2.1.tbz"
checksum: "md5=63e10e671a8ec354bb3cdf251593d8d0"
}
You can’t perform that action at this time.