forked from ocaml/opam-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CHANGES: * Implement the mirage-kv 2.0.0 interface, using mirage-kv-mem (mirage/ocaml-crunch#15 @linse @hannesm) * Removed no longer used size function (mirage/ocaml-crunch#15 @linse @hannesm)
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
opam-version: "2.0" | ||
maintainer: "MirageOS team" | ||
authors: ["Anil Madhavapeddy" "Thomas Gazagnaire" "Stefanie Schirmer" "Hannes Mehnert"] | ||
homepage: "https://github.com/mirage/ocaml-crunch" | ||
bug-reports: "https://github.com/mirage/ocaml-crunch/issues" | ||
doc: "https://mirage.github.io/ocaml-crunch/" | ||
license: "ISC" | ||
dev-repo: "git+https://github.com/mirage/ocaml-crunch.git" | ||
tags: ["org:mirage" "org:xapi-project"] | ||
|
||
depends: [ | ||
"ocaml" {>= "4.05.0"} | ||
"cmdliner" | ||
"ptime" | ||
"dune" {build & >= "1.0"} | ||
"lwt" {with-test} | ||
"mirage-kv-lwt" {with-test & >= "2.0.0"} | ||
"mirage-kv-mem" {with-test} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test} | ||
] | ||
synopsis: "Convert a filesystem into a static OCaml module" | ||
description: """ | ||
`ocaml-crunch` takes a directory of files and compiles them into a standalone | ||
OCaml module which serves the contents directly from memory. This can be | ||
convenient for libraries that need a few embedded files (such as a web server) | ||
and do not want to deal with all the trouble of file configuration. | ||
""" | ||
url { | ||
src: | ||
"https://github.com/mirage/ocaml-crunch/releases/download/v3.0.0/crunch-v3.0.0.tbz" | ||
checksum: "md5=83936d6316c2f81e3c64695bfac62f77" | ||
} |