depot/pkgs/development/ocaml-modules/mirage-kv/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

31 lines
687 B
Nix

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