package mfetch

  1. Overview
  2. Docs
On This Page
  1. Example
A tool to fetch dependencies of an OCaml project

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mfetch-0.1.1.tbz
sha256=26433733f8ac9c6b3c4b44e7d1d3c0460d8e4db0d6e2670bc75fbb8749a3de98
sha512=03a1c15e9f448d162483bc2380ad81fc3f3709e1786a0f3ba27b90fdefc3a63667f9ce9bbf4291a505a4cf0901bc32c32a95e24165d65b5a54b049eabc7c5f44

doc/README.html

mfetch, a tool to fetch and lock dependencies of OCaml projects

mfetch is a simple programme that allows you to download the source code for the dependencies listed in an _mfetch file, based on the version available under the current OPAM switch. You can ‘lock’ dependencies and ensure the reproducibility of your programme using orb. mfetch is a lighter version of opam-monorepo and leaves dependency resolution (which also involves version constraints) to OPAM.

This project forms part of the new workflow for developing unikernels and enables the vendoring of dependencies containing C files that must be compiled with the Solo5 toolchain.

Example

Let's take the immuable project as an example, a simple HTTP server implemented as a unikernel.

$ git clone https://github.com/dinosaure/immuable
$ cd immuable
$ unic . > _mfetch
$ mfetch
$ mfetch lock
$ orb build