ocamlPackages.mirage-fs: init at 3.0.1

This commit is contained in:
Vincent Laporte 2020-10-17 07:35:47 +02:00 committed by Vincent Laporte
parent 8f0accd00f
commit 7be0ab8249
2 changed files with 26 additions and 0 deletions

View File

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

View File

@ -559,6 +559,8 @@ let
mirage-flow-unix = callPackage ../development/ocaml-modules/mirage-flow/unix.nix { };
mirage-fs = callPackage ../development/ocaml-modules/mirage-fs { };
mirage-kv = callPackage ../development/ocaml-modules/mirage-kv { };
mirage-protocols = callPackage ../development/ocaml-modules/mirage-protocols { };