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";
|
2023-03-30 22:05:00 +00:00
|
|
|
version = "3.0.2";
|
|
|
|
|
|
|
|
duneVersion = "3";
|
2020-11-03 02:18:15 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-03-30 22:05:00 +00:00
|
|
|
url = "https://github.com/mirage/mirage-block/releases/download/v${version}/mirage-block-${version}.tbz";
|
|
|
|
hash = "sha256-UALUfeL0G1mfSsLgAb/HpQ6OV12YtY+GUOYG6yhUwAI=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|