depot/third_party/nixpkgs/pkgs/tools/wayland/wayland-proxy-virtwl/default.nix
Default email b96e6f4393 Project import generated by Copybara.
GitOrigin-RevId: 20887e4bbfdae3aed6bfa1f53ddf138ee325515e
2021-07-03 21:40:35 -05:00

37 lines
787 B
Nix

{ lib
, fetchFromGitHub
, ocamlPackages
}:
ocamlPackages.buildDunePackage rec {
pname = "wayland-proxy-virtwl";
version = "unstable-2021-04-15";
src = fetchFromGitHub {
owner = "talex5";
repo = pname;
rev = "09321a28f3d4c0fa7e41ebb3014106b62090b649";
sha256 = "03rc2jp5d2y9y7mfis6kk9gchd49gvq0jg6fq5gi9r21ckb4k5v4";
};
postPatch = ''
# no need to vendor
rm -r ocaml-wayland
'';
useDune2 = true;
minimumOCamlVersion = "4.08";
buildInputs = with ocamlPackages; [
wayland
cmdliner
logs
];
meta = {
homepage = "https://github.com/talex5/wayland-virtwl-proxy";
description = "Proxy Wayland connections across a VM boundary";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.sternenseemann ];
};
}