about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/mirage-kv/default.nix
blob: d32a9e3935e590aa4064816fa2295aaef06f5eff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib, fetchurl, buildDunePackage
, fmt
, lwt
, alcotest
}:

buildDunePackage rec {
  pname = "mirage-kv";
  version = "4.0.1";

  duneVersion = "3";
  minimalOCamlVersion = "4.08";

  src = fetchurl {
    url = "https://github.com/mirage/mirage-kv/releases/download/v${version}/mirage-kv-${version}.tbz";
    hash = "sha256-p6i4zUVgxtTnUiBIjb8W6u9xRTczVl4WwfFcl5tVqnE=";
  };

  propagatedBuildInputs = [ fmt lwt ];

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