2020-10-17 07:35:38 +02:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
2023-03-02 05:42:24 +01:00
|
|
|
, fmt
|
|
|
|
, lwt
|
2024-04-17 05:55:40 +02:00
|
|
|
, optint
|
|
|
|
, ptime
|
2020-10-17 07:35:38 +02:00
|
|
|
, alcotest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-kv";
|
2024-04-17 05:55:40 +02:00
|
|
|
version = "6.1.1";
|
2020-10-17 07:35:38 +02:00
|
|
|
|
2023-03-02 05:42:24 +01:00
|
|
|
minimalOCamlVersion = "4.08";
|
2020-10-17 07:35:38 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-03-02 05:42:24 +01:00
|
|
|
url = "https://github.com/mirage/mirage-kv/releases/download/v${version}/mirage-kv-${version}.tbz";
|
2024-04-17 05:55:40 +02:00
|
|
|
hash = "sha256-fNXNlaDpb5zUA2rTwi5h1j4v4LQmovxG+Am6u+1guPQ=";
|
2020-10-17 07:35:38 +02:00
|
|
|
};
|
|
|
|
|
2024-04-17 05:55:40 +02:00
|
|
|
propagatedBuildInputs = [ fmt lwt optint ptime ];
|
2020-10-17 07:35:38 +02:00
|
|
|
|
|
|
|
doCheck = true;
|
2022-03-01 16:42:22 +01:00
|
|
|
checkInputs = [ alcotest ];
|
2020-10-17 07:35:38 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "MirageOS signatures for key/value devices";
|
|
|
|
homepage = "https://github.com/mirage/mirage-kv";
|
|
|
|
license = lib.licenses.isc;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|