File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed
packages/crunch/crunch.4.0.0 Expand file tree Collapse file tree 1 file changed +55
-0
lines changed 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.0.0/crunch-4.0.0.tbz"
50
+ checksum: [
51
+ "sha256=939b8d1129ed6c634cb0f9ccc6f6d44aa1703cd05ce6091f2ee2a0162944b89b"
52
+ "sha512=4753307f6d7d6e6a5abf39b437efc40ab9b2c517c8cf5e9bff05a8eab91f01545a7f6ae979303adde94ff23fa14a6466ce831dc39cfc50ad04548f3cbb7a857b"
53
+ ]
54
+ }
55
+ x-commit-hash: "dfeeafba20f5c5825c2518707aaa3251a804df9f"
You can’t perform that action at this time.
0 commit comments