depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mirage-fs/default.nix

25 lines
654 B
Nix
Raw Normal View History

{ lib, fetchurl, buildDunePackage
, cstruct, fmt, lwt, mirage-device, mirage-kv
}:
buildDunePackage rec {
pname = "mirage-fs";
version = "4.0.0";
useDune2 = true;
src = fetchurl {
url = "https://github.com/mirage/mirage-fs/releases/download/v${version}/mirage-fs-v${version}.tbz";
sha256 = "sha256-PYZ2HCPuxOv4FU7EHymsa1oIZU7q8TSzzRvlngYdZ3s=";
};
propagatedBuildInputs = [ cstruct fmt lwt mirage-device mirage-kv ];
meta = {
description = "MirageOS signatures for filesystem devices";
homepage = "https://github.com/mirage/mirage-fs";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}