/
opam
37 lines (35 loc) · 1.25 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
opam-version: "2.0"
maintainer: "Romain Calascibetta <romain.calascibetta@gmail.com>"
authors: "Romain Calascibetta <romain.calascibetta@gmail.com>"
homepage: "https://github.com/mirage/encore"
bug-reports: "https://github.com/mirage/encore/issues"
dev-repo: "git+https://github.com/mirage/encore.git"
doc: "https://mirage.github.io/encore/"
license: "MIT"
synopsis: "Library to generate encoder/decoder which ensure isomorphism"
description: """
Encore is a little library to provide an interface to generate an angstrom decoder and
an internal encoder from a shared description. The goal is to ensure a dual isomorphism
between them.
"""
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"ocaml" {>= "4.03.0" & < "4.07.0"}
"dune"
"angstrom" {>= "0.10.0" & < "0.14.0"}
"fmt"
"ke" {>= "0.3"}
"alcotest" {with-test}
]
url {
src:
"https://github.com/mirage/encore/releases/download/v0.3/encore-v0.3.tbz"
checksum: [
"sha256=747a6c50a09ee0846adba3ff088acc71969f0942275fcd12aebaaba2ab37db16"
"sha512=93aaa2cd96d53bf8fc23d65cf3249ad0f014ebc72174020a06ee7df12f10903f2177052bee75fbf8dddd44b4c496d5a0a1998b44642ce1d0a83f3c7c92f34f5c"
]
}