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.

32 lines
687 B
Nix
Raw Normal View History

2020-10-17 07:35:38 +02:00
{ lib, fetchurl, buildDunePackage
, fmt
, lwt
, optint
, ptime
2020-10-17 07:35:38 +02:00
, alcotest
}:
buildDunePackage rec {
pname = "mirage-kv";
version = "6.1.1";
2020-10-17 07:35:38 +02:00
minimalOCamlVersion = "4.08";
2020-10-17 07:35:38 +02:00
src = fetchurl {
url = "https://github.com/mirage/mirage-kv/releases/download/v${version}/mirage-kv-${version}.tbz";
hash = "sha256-fNXNlaDpb5zUA2rTwi5h1j4v4LQmovxG+Am6u+1guPQ=";
2020-10-17 07:35:38 +02:00
};
propagatedBuildInputs = [ fmt lwt optint ptime ];
2020-10-17 07:35:38 +02:00
doCheck = true;
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 ];
};
}