package mfetch

  1. Overview
  2. Docs
A tool to fetch dependencies of an OCaml project

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mfetch-0.1.0.tbz
sha256=af931c9978ca76d85a4c4e0f1a74010873cdfc3bcd252cabedfe8062d067fea9
sha512=1b5789433a884ae431b35f25f4c41314f14112b53e873065d552128b2d63aecc1cf466ca2a62ab3e3be151f4eaa9295191de55781ffd271c12cf2d31dc9f3f2e

Description

Added to opam-repository:

README

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

Dev Dependencies (1)

  1. alcotest with-test

Used by

None

Conflicts

None