2020-10-27 00:29:36 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
2023-03-15 16:39:30 +00:00
|
|
|
, fmt
|
|
|
|
, lwt
|
2020-10-27 00:29:36 +00:00
|
|
|
, alcotest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-kv";
|
2023-03-15 16:39:30 +00:00
|
|
|
version = "4.0.1";
|
2020-10-27 00:29:36 +00:00
|
|
|
|
2023-03-15 16:39:30 +00:00
|
|
|
duneVersion = "3";
|
|
|
|
minimalOCamlVersion = "4.08";
|
2020-10-27 00:29:36 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-03-15 16:39:30 +00:00
|
|
|
url = "https://github.com/mirage/mirage-kv/releases/download/v${version}/mirage-kv-${version}.tbz";
|
|
|
|
hash = "sha256-p6i4zUVgxtTnUiBIjb8W6u9xRTczVl4WwfFcl5tVqnE=";
|
2020-10-27 00:29:36 +00:00
|
|
|
};
|
|
|
|
|
2023-03-15 16:39:30 +00:00
|
|
|
propagatedBuildInputs = [ fmt lwt ];
|
2020-10-27 00:29:36 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ alcotest ];
|
2020-10-27 00:29:36 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "MirageOS signatures for key/value devices";
|
|
|
|
homepage = "https://github.com/mirage/mirage-kv";
|
|
|
|
license = lib.licenses.isc;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|