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