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