This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
32
unikernel/duniverse/ocaml-hex/hex.opam
Normal file
32
unikernel/duniverse/ocaml-hex/hex.opam
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
version: "1.5.0"
|
||||
opam-version: "2.0"
|
||||
maintainer: "thomas@gazagnaire.org"
|
||||
authors: ["Thomas Gazagnaire" "Trevor Summers Smith"]
|
||||
license: "ISC"
|
||||
homepage: "https://github.com/mirage/ocaml-hex"
|
||||
doc: "https://mirage.github.io/ocaml-hex/"
|
||||
bug-reports: "https://github.com/mirage/ocaml-hex/issues"
|
||||
depends: [
|
||||
"ocaml" {>="4.08.0"}
|
||||
"dune" {>= "1.0"}
|
||||
"cstruct" {>= "1.7.0"}
|
||||
]
|
||||
build: [
|
||||
["dune" "subst"] {dev}
|
||||
["dune" "build" "-p" name "-j" jobs]
|
||||
["dune" "runtest" "-p" name "-j" jobs] {with-test}
|
||||
]
|
||||
dev-repo: "git+https://github.com/mirage/ocaml-hex.git"
|
||||
synopsis: "Library providing hexadecimal converters"
|
||||
description: """
|
||||
```ocaml
|
||||
#require "hex";;
|
||||
# Hex.of_string "Hello world!";;
|
||||
- : Hex.t = "48656c6c6f20776f726c6421"
|
||||
# Hex.to_string "dead-beef";;
|
||||
- : string = "ޭ<><DEAD>"
|
||||
# Hex.hexdump (Hex.of_string "Hello world!\n")
|
||||
00000000: 4865 6c6c 6f20 776f 726c 6421 0a Hello world!.
|
||||
- : unit = ()
|
||||
```
|
||||
"""
|
||||
Loading…
Add table
Add a link
Reference in a new issue