nixpkgs-suyu/pkgs/development/ocaml-modules/mirage-fs/default.nix
2022-03-24 17:42:18 +01:00

24 lines
654 B
Nix

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