mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-15 09:23:37 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
28 lines
783 B
Nix
28 lines
783 B
Nix
{ lib, fetchurl, buildDunePackage, cstruct-lwt, diet, logs
|
|
, mirage-block, ounit2, rresult, uri }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "mirage-block-unix";
|
|
version = "2.14.2";
|
|
|
|
src = fetchurl {
|
|
url =
|
|
"https://github.com/mirage/mirage-block-unix/releases/download/v${version}/mirage-block-unix-${version}.tbz";
|
|
sha256 = "sha256-6ReAzd+pCd5ccmXOh6GlSxHo4GuEgptxLha62n+dBsE=";
|
|
};
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
propagatedBuildInputs = [ cstruct-lwt logs mirage-block rresult uri ];
|
|
|
|
doCheck = true;
|
|
nativeCheckInputs = [ 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 ];
|
|
};
|
|
}
|