Skip to content

Commit

Permalink
Merge pull request ocaml#18374 from mfp/ocaml-leveldb.1.3.0
Browse files Browse the repository at this point in the history
Add ocaml-leveldb.1.3.0.
  • Loading branch information
kit-ty-kate committed Mar 22, 2021
2 parents 5557fa0 + e0a8361 commit 95a6190
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 1 deletion.
16 changes: 15 additions & 1 deletion packages/conf-leveldb/conf-leveldb.1/opam
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,22 @@ license: "BSD-3-Clause"
build: [["cc" "-c" "test.cc"]]
depexts: [
["libleveldb-dev"] {os-family = "debian"}
["libleveldb-dev"] {os-family = "ubuntu"}
["leveldb-dev"] {os-family = "alpine"}
["leveldb-devel" "epel-release"] {os-distribution = "centos"}
["leveldb-devel"] {os-distribution = "fedora"}
["leveldb-devel"] {os-family = "suse"}
["dev-libs/leveldb"] {os-family = "gentoo"}
["leveldb"] {os-family = "arch"}
["leveldb"] {os = "macos" & os-distribution = "homebrew"}
["leveldb-devel"] {os-distribution = "centos"}
["leveldb"] {os = "macos" & os-distribution = "macports"}
["leveldb"] {os = "freebsd"}
["leveldb"] {os = "openbsd"}
["leveldb"] {os = "netbsd"}
]
x-ci-accept-failures: [
"oraclelinux-7" # not available
"oraclelinux-8" # not available
]
synopsis: "Virtual package relying on a LevelDB lib system installation"
description:
Expand Down
44 changes: 44 additions & 0 deletions packages/leveldb/leveldb.1.3.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
opam-version: "2.0"
synopsis: "OCaml bindings for Google's LevelDB library"
description: """
These bindings expose nearly the full LevelDB C++ API, including:
* iterators
* snapshots
* batch updates and support for custom comparators
Blocking functions release the OCaml runtime system,
allowing to run them in parallel with other OCaml code and to perform multiple LevelDB operations in parallel.
"""
maintainer: ["<mfp@acm.org>"]
authors: ["<mfp@acm.org>"]
license: "MIT"
homepage: "https://github.com/mfp/ocaml-leveldb"
bug-reports: "https://github.com/mfp/ocaml-leveldb/issues"
depends: [
"ocaml" {>= "4.06"}
"dune" {>= "2.0"}
"ounit2" {with-test}
"odoc" {with-doc}
"conf-leveldb"
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/mfp/ocaml-leveldb.git"
url {
src: "https://github.com/mfp/ocaml-leveldb/releases/download/1.3.0/ocaml-leveldb-1.3.0.tar.gz"
checksum: [
"sha256=f88dd6054c3a53187535173caff2370a60ebe3e9233c6098882db74ea38a109a"
"sha512=bf867ffe9746ee189e7303d76c30bd2eb9bd202e2d170a3608d00458437dea8195b5cb3097e422c3014842bb6dccdda26c7f0e96da8e2b350b44cd70e5b12f7c"
]
}

0 comments on commit 95a6190

Please sign in to comment.