File tree Expand file tree Collapse file tree
packages/crunch/crunch.4.1.0 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ opam-version: "2.0"
2+ maintainer: "MirageOS team"
3+ authors: ["Anil Madhavapeddy" "Thomas Gazagnaire" "Stefanie Schirmer" "Hannes Mehnert"]
4+ homepage: "https://github.com/mirage/ocaml-crunch"
5+ bug-reports: "https://github.com/mirage/ocaml-crunch/issues"
6+ doc: "https://mirage.github.io/ocaml-crunch/"
7+ license: "ISC"
8+ dev-repo: "git+https://github.com/mirage/ocaml-crunch.git"
9+ tags: ["org:mirage" "org:xapi-project"]
10+
11+ depends: [
12+ "ocaml" {>= "4.08.0"}
13+ "cmdliner" {>= "1.1"}
14+ "ptime"
15+ "dune" {>= "2.5"}
16+ "lwt" {with-test}
17+ "mirage-kv" {with-test & >= "3.0.0"}
18+ "mirage-kv-mem" {with-test & >= "4.0.0"}
19+ "fmt" {with-test}
20+ ]
21+ conflicts: [
22+ "mirage-kv" {< "3.0.0"}
23+ "mirage-kv-mem" {< "4.0.0"}
24+ ]
25+ build: [
26+ ["dune" "subst"] {dev}
27+ [
28+ "dune"
29+ "build"
30+ "-p"
31+ name
32+ "-j"
33+ jobs
34+ "@install"
35+ "@runtest" {with-test}
36+ "@doc" {with-doc}
37+ ]
38+ ]
39+ synopsis: "Convert a filesystem into a static OCaml module"
40+ description: """
41+ `ocaml-crunch` takes a directory of files and compiles them into a standalone
42+ OCaml module which serves the contents directly from memory. This can be
43+ convenient for libraries that need a few embedded files (such as a web server)
44+ and do not want to deal with all the trouble of file configuration.
45+ """
46+ x-maintenance-intent: [ "(latest)" ]
47+ url {
48+ src:
49+ "https://github.com/mirage/ocaml-crunch/releases/download/v4.1.0/crunch-4.1.0.tbz"
50+ checksum: [
51+ "sha256=b7775d6fb6e6094a8c31fdbf2127501d99ed8ceeac40271055dd52c79a3e17e7"
52+ "sha512=3c05e5b8b0cdc628ef0ab1df5ca04c12ef91a5412d3638a49334995b33a512b331c16a8d14e3f9815d28585d1536c25898f9f05ffd5a12a65d2bf93d22178180"
53+ ]
54+ }
55+ x-commit-hash: "da3e5dc0fdf5ac960c1b10063d500505e81366a1"
You can’t perform that action at this time.
0 commit comments