depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mirage-console/default.nix

25 lines
634 B
Nix
Raw Normal View History

{ lib, fetchurl, buildDunePackage
, lwt, mirage-flow
}:
buildDunePackage rec {
pname = "mirage-console";
version = "5.1.0";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/mirage/mirage-console/releases/download/v${version}/mirage-console-${version}.tbz";
sha256 = "sha256-mjYRisbNOJbYoSuWaGoPueXakmqAwmWh0ATvLLsvpNM=";
};
propagatedBuildInputs = [ lwt mirage-flow ];
meta = {
description = "Implementations of Mirage console devices";
homepage = "https://github.com/mirage/mirage-console";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}