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