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