about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/mirage-block/default.nix
blob: 0cd1f1717ea6682288fa383829bcf9ae7e0ceccd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, fetchurl, buildDunePackage
, cstruct, lwt, fmt
}:

buildDunePackage rec {
  pname = "mirage-block";
  version = "3.0.2";

  duneVersion = "3";

  src = fetchurl {
    url = "https://github.com/mirage/mirage-block/releases/download/v${version}/mirage-block-${version}.tbz";
    hash = "sha256-UALUfeL0G1mfSsLgAb/HpQ6OV12YtY+GUOYG6yhUwAI=";
  };

  propagatedBuildInputs = [ cstruct lwt fmt ];

  meta = with lib; {
    description = "Block signatures and implementations for MirageOS";
    homepage = "https://github.com/mirage/mirage-block";
    license = licenses.isc;
    maintainers = with maintainers; [ vbgl ];
  };
}