2020-11-03 02:18:15 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
2022-07-14 12:49:19 +00:00
|
|
|
, cstruct, lwt, fmt
|
2020-11-03 02:18:15 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-block";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "3.0.0";
|
2020-11-03 02:18:15 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/mirage-block/releases/download/v${version}/mirage-block-v${version}.tbz";
|
2022-07-14 12:49:19 +00:00
|
|
|
sha256 = "sha256-NB5nJpppMtdi0HDjKcCAqRjO4vIbAMfnP934P+SnzmU=";
|
2020-11-03 02:18:15 +00:00
|
|
|
};
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
propagatedBuildInputs = [ cstruct lwt fmt ];
|
2020-11-03 02:18:15 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Block signatures and implementations for MirageOS";
|
|
|
|
homepage = "https://github.com/mirage/mirage-block";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|