1{
2 lib,
3 fetchurl,
4 buildDunePackage,
5 cstruct,
6 lwt,
7 fmt,
8}:
9
10buildDunePackage rec {
11 pname = "mirage-block";
12 version = "3.0.2";
13
14 duneVersion = "3";
15
16 src = fetchurl {
17 url = "https://github.com/mirage/mirage-block/releases/download/v${version}/mirage-block-${version}.tbz";
18 hash = "sha256-UALUfeL0G1mfSsLgAb/HpQ6OV12YtY+GUOYG6yhUwAI=";
19 };
20
21 propagatedBuildInputs = [
22 cstruct
23 lwt
24 fmt
25 ];
26
27 meta = with lib; {
28 description = "Block signatures and implementations for MirageOS";
29 homepage = "https://github.com/mirage/mirage-block";
30 license = licenses.isc;
31 maintainers = with maintainers; [ vbgl ];
32 };
33}