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

32 lines
673 B
Nix

{
lib,
fetchurl,
buildDunePackage,
lwt,
mirage-flow,
}:
buildDunePackage rec {
pname = "mirage-console";
version = "5.1.0";
minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/mirage-console/releases/download/v${version}/mirage-console-${version}.tbz";
hash = "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 ];
};
}