nixpkgs/pkgs/development/ocaml-modules/mirage-block-unix/default.nix
Vincent Laporte e69aee3280 ocamlPackages.io-page: 2.3.0 → 2.4.0
ocamlPackages.mirage-block: 2.0.1 → 3.0.0
ocamlPackages.mirage-block-ramdisk: disable tests
ocamlPackages.mirage-block-unix: 2.12.1 → 2.14.1
ocamlPackages.mirage-unix: 4.0.0 → 4.0.1
ocamlPackages.vchan: 6.0.0 → 6.0.1
ocamlPackages.wodan-unix: mark as broken
2022-07-04 09:10:59 +02:00

27 lines
794 B
Nix

{ lib, fetchurl, buildDunePackage, cstruct-lwt, diet, io-page, logs
, mirage-block, ounit2, rresult, uri }:
buildDunePackage rec {
pname = "mirage-block-unix";
version = "2.14.1";
src = fetchurl {
url =
"https://github.com/mirage/mirage-block-unix/releases/download/v${version}/mirage-block-unix-${version}.tbz";
sha256 = "sha256-FcUhbjHKT11ePDXaAVzUdV/WOHoxMoXyZKG5ikKpBNU=";
};
minimalOCamlVersion = "4.06";
propagatedBuildInputs = [ cstruct-lwt io-page logs mirage-block rresult uri ];
doCheck = true;
checkInputs = [ diet ounit2 ];
meta = with lib; {
description = "MirageOS disk block driver for Unix";
homepage = "https://github.com/mirage/mirage-block-unix";
license = licenses.isc;
maintainers = with maintainers; [ ehmry ];
};
}