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

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

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

  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 ];
  };
}