nixpkgs/pkgs/development/ocaml-modules/mirage-kv/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
678 B
Nix
Raw Normal View History

2020-10-17 05:35:38 +00:00
{ lib, fetchurl, buildDunePackage
, fmt
, lwt
2020-10-17 05:35:38 +00:00
, alcotest
}:
buildDunePackage rec {
pname = "mirage-kv";
version = "4.0.1";
2020-10-17 05:35:38 +00:00
duneVersion = "3";
minimalOCamlVersion = "4.08";
2020-10-17 05:35:38 +00:00
src = fetchurl {
url = "https://github.com/mirage/mirage-kv/releases/download/v${version}/mirage-kv-${version}.tbz";
hash = "sha256-p6i4zUVgxtTnUiBIjb8W6u9xRTczVl4WwfFcl5tVqnE=";
2020-10-17 05:35:38 +00:00
};
propagatedBuildInputs = [ fmt lwt ];
2020-10-17 05:35:38 +00:00
doCheck = true;
checkInputs = [ alcotest ];
2020-10-17 05:35:38 +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 ];
};
}