depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mirage-kv/default.nix
Default email ae1b531433 Project import generated by Copybara.
GitOrigin-RevId: 1dc37370c489b610f8b91d7fdd40633163ffbafd
2020-10-27 01:29:36 +01:00

28 lines
667 B
Nix

{ 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 ];
};
}