-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
37 lines (37 loc) · 1.36 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: "Hannes Mehnert <hannes@mehnert.org>"
authors: "Hannes Mehnert <hannes@mehnert.org>"
license: "ISC"
homepage: "https://github.com/hannesm/domain-name"
doc: "https://hannesm.github.io/domain-name/doc"
bug-reports: "https://github.com/hannesm/domain-name/issues"
depends: [
"ocaml" {>= "4.04.2"}
"dune"
"fmt"
"astring"
"alcotest" {with-test}
]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
dev-repo: "git+https://github.com/hannesm/domain-name.git"
synopsis: "RFC 1035 Internet domain names"
description: """
A domain name is a sequence of labels separated by dots, such as `foo.example`.
Each label may contain any bytes. The length of each label may not exceed 63
charactes. The total length of a domain name is limited to 253 (byte
representation is 255), but other protocols (such as SMTP) may apply even
smaller limits. A domain name label is case preserving, comparison is done in a
case insensitive manner.
"""
url {
src:
"https://github.com/hannesm/domain-name/releases/download/v0.2.0/domain-name-v0.2.0.tbz"
checksum: [
"sha256=58026d7c80e8b0f402e7ec2a95b3704df44298deee4701d83d2b46e8ffa7b7a2"
"sha512=34456200efd60cdfe46a3bf04f630b45b796a5a60de517509909a41366512c34d744017a2dde5698a46e82a84a6068fe09ccd10ba945377847174dda001cbdcf"
]
}