this repo has no description
1opam-version: "2.0"
2maintainer: "MirageOS team"
3authors: ["Anil Madhavapeddy" "Thomas Gazagnaire" "Stefanie Schirmer" "Hannes Mehnert"]
4homepage: "https://github.com/mirage/ocaml-crunch"
5bug-reports: "https://github.com/mirage/ocaml-crunch/issues"
6doc: "https://mirage.github.io/ocaml-crunch/"
7license: "ISC"
8dev-repo: "git+https://github.com/mirage/ocaml-crunch.git"
9tags: ["org:mirage" "org:xapi-project"]
10
11depends: [
12 "ocaml" {>= "4.05.0"}
13 "cmdliner"
14 "ptime"
15 "dune" {>= "1.0"}
16 "lwt" {with-test}
17 "mirage-kv-lwt" {with-test & >= "2.0.0"}
18 "mirage-kv-mem" {with-test & < "4.0.0"}
19]
20build: [
21 ["dune" "subst"] {dev}
22 ["dune" "build" "-p" name "-j" jobs]
23 ["dune" "runtest" "-p" name "-j" jobs] {with-test}
24]
25synopsis: "Convert a filesystem into a static OCaml module"
26description: """
27`ocaml-crunch` takes a directory of files and compiles them into a standalone
28OCaml module which serves the contents directly from memory. This can be
29convenient for libraries that need a few embedded files (such as a web server)
30and do not want to deal with all the trouble of file configuration.
31"""
32url {
33 src:
34 "https://github.com/mirage/ocaml-crunch/releases/download/v3.0.0/crunch-v3.0.0.tbz"
35 checksum: [
36 "sha256=0ec1aec8b869bf68f1a5ea76b3ff15ed74a5c32bdbdba6c7951d45faff5ae605"
37 "md5=83936d6316c2f81e3c64695bfac62f77"
38 ]
39}