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" {with-test & >= "3.0.0"}
18 "mirage-kv-mem" {with-test & >= "3.0.0" & < "4.0.0"}
19]
20conflicts: [
21 "mirage-kv" {< "3.0.0"}
22]
23build: [
24 ["dune" "subst"] {dev}
25 ["dune" "build" "-p" name "-j" jobs]
26 ["dune" "runtest" "-p" name "-j" jobs] {with-test}
27]
28synopsis: "Convert a filesystem into a static OCaml module"
29description: """
30`ocaml-crunch` takes a directory of files and compiles them into a standalone
31OCaml module which serves the contents directly from memory. This can be
32convenient for libraries that need a few embedded files (such as a web server)
33and do not want to deal with all the trouble of file configuration.
34"""
35url {
36 src:
37 "https://github.com/mirage/ocaml-crunch/releases/download/v3.2.0/crunch-v3.2.0.tbz"
38 checksum: [
39 "sha256=0a1a4ebb86ab643dd193b5c0046e4d168c6e1cb41e6e5e5b6fbd3b7492e8c6de"
40 "sha512=8666e4081c96b7e0820c621197cb02de2238ddc911e4e95f439c69a685a5791dd4f874ba1084f56c9b44d3d579b877b1ed1f7b0421cd56d3f36ad39c669ee4eb"
41 ]
42}