2020-10-27 08:25:17 +01:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
|
|
|
, cstruct, lwt, mirage-device
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-block";
|
|
|
|
version = "2.0.1";
|
|
|
|
|
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/mirage-block/releases/download/v${version}/mirage-block-v${version}.tbz";
|
|
|
|
sha256 = "1wp8wmixaz9i2sbvq6nkx903lbnpdgb2w404pz1wk8kcg9p3ilcc";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ cstruct lwt mirage-device ];
|
|
|
|
|
2020-10-27 16:07:52 +01:00
|
|
|
meta = with lib; {
|
2020-10-27 08:25:17 +01:00
|
|
|
description = "Block signatures and implementations for MirageOS";
|
|
|
|
homepage = "https://github.com/mirage/mirage-block";
|
2020-10-27 16:07:52 +01:00
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
2020-10-27 08:25:17 +01:00
|
|
|
};
|
|
|
|
}
|