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.1.0/crunch-v3.1.0.tbz"
38 checksum: [
39 "sha256=ced263b2fee874347159ebb10c8f553354908cef2230bb220f3941a24a384634"
40 "sha512=30267de603537e8dc5528d9a43e4d5c0baaf3bf9a9332ce8ac897ca14cff0dd543f8b0d508d720f45f3b0e8c8bc757684d2b53196e3dd009743a2779d72fcb1d"
41 ]
42}