2020-10-27 07:25:17 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
2022-06-26 17:44:15 +00:00
|
|
|
, cstruct, lwt, fmt
|
2020-10-27 07:25:17 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-block";
|
2022-06-26 17:44:15 +00:00
|
|
|
version = "3.0.0";
|
2020-10-27 07:25:17 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/mirage-block/releases/download/v${version}/mirage-block-v${version}.tbz";
|
2022-06-26 17:44:15 +00:00
|
|
|
sha256 = "sha256-NB5nJpppMtdi0HDjKcCAqRjO4vIbAMfnP934P+SnzmU=";
|
2020-10-27 07:25:17 +00:00
|
|
|
};
|
|
|
|
|
2022-06-26 17:44:15 +00:00
|
|
|
propagatedBuildInputs = [ cstruct lwt fmt ];
|
2020-10-27 07:25:17 +00:00
|
|
|
|
2020-10-27 15:07:52 +00:00
|
|
|
meta = with lib; {
|
2020-10-27 07:25:17 +00:00
|
|
|
description = "Block signatures and implementations for MirageOS";
|
|
|
|
homepage = "https://github.com/mirage/mirage-block";
|
2020-10-27 15:07:52 +00:00
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
2020-10-27 07:25:17 +00:00
|
|
|
};
|
|
|
|
}
|