ocamlPackages.mirage-net: init at 3.0.1

This commit is contained in:
Vincent Laporte 2020-10-24 15:34:55 +02:00 committed by Vincent Laporte
parent f20b89d1d4
commit b5f396e43a
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ lib, fetchurl, buildDunePackage
, cstruct, fmt, lwt, macaddr, mirage-device
}:
buildDunePackage rec {
pname = "mirage-net";
version = "3.0.1";
useDune2 = true;
src = fetchurl {
url = "https://github.com/mirage/mirage-net/releases/download/v${version}/mirage-net-v${version}.tbz";
sha256 = "0yfvl0fgs7xy5i7kkparaa7a315a2h7kb1z24fmmnwnyaji57dg3";
};
propagatedBuildInputs = [ cstruct fmt lwt macaddr mirage-device ];
meta = {
description = "Network signatures for MirageOS";
homepage = "https://github.com/mirage/mirage-net";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -565,6 +565,8 @@ let
mirage-kv = callPackage ../development/ocaml-modules/mirage-kv { };
mirage-net = callPackage ../development/ocaml-modules/mirage-net { };
mirage-protocols = callPackage ../development/ocaml-modules/mirage-protocols { };
mirage-random = callPackage ../development/ocaml-modules/mirage-random { };