this repo has no description
1opam-version: "2.0"
2maintainer: "mirageos-devel@lists.xenproject.org"
3authors: [ "Thomas Gazagnaire"
4 "Anil Madhavapeddy"
5 "Peter Zotov" ]
6license: "ISC"
7homepage: "https://github.com/mirage/ocaml-base64"
8doc: "http://mirage.github.io/ocaml-base64/"
9bug-reports: "https://github.com/mirage/ocaml-base64/issues"
10dev-repo: "git+https://github.com/mirage/ocaml-base64.git"
11depends: [
12 "ocaml"
13 "base-bytes"
14 "jbuilder" {>= "1.0+beta10"}
15 "bos" {with-test}
16 "rresult" {with-test}
17 "alcotest" {with-test & >= "0.4.0"}
18]
19build: [
20 ["jbuilder" "subst" "-p" name] {dev}
21 ["jbuilder" "build" "-p" name "-j" jobs]
22 ["jbuilder" "runtest" "-p" name] {with-test}
23]
24synopsis: "Base64 encoding for OCaml"
25description: """
26Base64 is a group of similar binary-to-text encoding schemes that represent
27binary data in an ASCII string format by translating it into a radix-64
28representation. It is specified in [RFC 4648][rfc4648].
29
30See also [documentation][docs].
31
32[rfc4648]: https://tools.ietf.org/html/rfc4648
33[docs]: http://mirage.github.io/ocaml-base64/base64/
34
35## Example
36
37Simple encoding and decoding.
38
39```shell
40utop # #require "base64";;
41utop # let enc = B64.encode "OCaml rocks!";;
42val enc : string = "T0NhbWwgcm9ja3Mh"
43utop # let plain = B64.decode enc;;
44val plain : string = "OCaml rocks!"
45```
46
47## License
48
49[ISC](https://www.isc.org/downloads/software-support-policy/isc-license/)"""
50url {
51 src:
52 "https://github.com/mirage/ocaml-base64/releases/download/v2.2.0/base64-2.2.0.tbz"
53 checksum: [
54 "sha256=7dd9ad996ae22ef343c68a371de22de373e24dcadba6d12ffbc6bdd9a50fc94f"
55 "md5=49f2bc4ae37b832c652277c0b701a02a"
56 ]
57}