depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mirage-console/default.nix
Default email ffc78d3539 Project import generated by Copybara.
GitOrigin-RevId: d9dba88d08a9cdf483c3d45f0d7220cf97a4ce64
2021-01-05 19:05:55 +02:00

26 lines
685 B
Nix

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