ocamlPackages.mirage-kv: init at 3.0.1

This commit is contained in:
Vincent Laporte 2020-10-17 07:35:38 +02:00 committed by Vincent Laporte
parent 3d4e133e77
commit 8f0accd00f
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib, fetchurl, buildDunePackage
, fmt, mirage-device
, alcotest
}:
buildDunePackage rec {
pname = "mirage-kv";
version = "3.0.1";
useDune2 = true;
src = fetchurl {
url = "https://github.com/mirage/mirage-kv/releases/download/v${version}/mirage-kv-v${version}.tbz";
sha256 = "1n736sjvdd8rkbc2b5jm9sn0w6hvhjycma5328r0l03v24vk5cki";
};
propagatedBuildInputs = [ fmt mirage-device ];
doCheck = true;
checkInputs = [ alcotest ];
meta = {
description = "MirageOS signatures for key/value devices";
homepage = "https://github.com/mirage/mirage-kv";
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-kv = callPackage ../development/ocaml-modules/mirage-kv { };
mirage-protocols = callPackage ../development/ocaml-modules/mirage-protocols { };
mirage-random = callPackage ../development/ocaml-modules/mirage-random { };