Files
2026-05-12 13:28:13 -05:00

46 lines
823 B
Nix

{
lib,
fetchurl,
buildDunePackage,
cstruct-lwt,
diet,
logs,
mirage-block,
ounit2,
rresult,
uri,
}:
buildDunePackage (finalAttrs: {
pname = "mirage-block-unix";
version = "2.14.2";
src = fetchurl {
url = "https://github.com/mirage/mirage-block-unix/releases/download/v${finalAttrs.version}/mirage-block-unix-${finalAttrs.version}.tbz";
sha256 = "sha256-6ReAzd+pCd5ccmXOh6GlSxHo4GuEgptxLha62n+dBsE=";
};
minimalOCamlVersion = "4.08";
duneVersion = "3";
propagatedBuildInputs = [
cstruct-lwt
logs
mirage-block
rresult
uri
];
doCheck = true;
checkInputs = [
diet
ounit2
];
meta = {
description = "MirageOS disk block driver for Unix";
homepage = "https://github.com/mirage/mirage-block-unix";
license = lib.licenses.isc;
};
})