2021-07-04 02:40:35 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, ocamlPackages
|
2022-09-30 11:47:45 +00:00
|
|
|
, pkg-config
|
|
|
|
, libdrm
|
2023-08-22 20:05:09 +00:00
|
|
|
, unstableGitUpdater
|
2021-07-04 02:40:35 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
ocamlPackages.buildDunePackage rec {
|
|
|
|
pname = "wayland-proxy-virtwl";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "unstable-2023-12-09";
|
2021-07-04 02:40:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "talex5";
|
|
|
|
repo = pname;
|
2024-01-13 08:15:51 +00:00
|
|
|
rev = "ec052fa0e9ae2b2926afc27e23a50b4d3072e6ac";
|
|
|
|
sha256 = "sha256-ZWW44hfWs0F4SwwEjx62o/JnuXSrSlq2lrRFRTuPUFE=";
|
2021-07-04 02:40:35 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
minimalOCamlVersion = "5.0";
|
2021-07-04 02:40:35 +00:00
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
nativeBuildInputs = [
|
2022-09-30 11:47:45 +00:00
|
|
|
pkg-config
|
2021-12-19 01:06:50 +00:00
|
|
|
];
|
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
buildInputs = [ libdrm ] ++ (with ocamlPackages; [
|
|
|
|
dune-configurator
|
2023-11-16 04:20:00 +00:00
|
|
|
eio_main
|
2023-02-09 11:40:11 +00:00
|
|
|
ppx_cstruct
|
2021-07-04 02:40:35 +00:00
|
|
|
wayland
|
|
|
|
cmdliner
|
|
|
|
logs
|
2022-05-18 14:49:53 +00:00
|
|
|
ppx_cstruct
|
2022-09-30 11:47:45 +00:00
|
|
|
]);
|
2021-07-04 02:40:35 +00:00
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
|
2023-03-08 16:32:21 +00:00
|
|
|
meta = with lib; {
|
2021-07-04 02:40:35 +00:00
|
|
|
homepage = "https://github.com/talex5/wayland-virtwl-proxy";
|
|
|
|
description = "Proxy Wayland connections across a VM boundary";
|
2023-03-08 16:32:21 +00:00
|
|
|
license = licenses.asl20;
|
2023-10-09 19:29:22 +00:00
|
|
|
mainProgram = "wayland-proxy-virtwl";
|
2023-08-22 20:05:09 +00:00
|
|
|
maintainers = [ maintainers.qyliss maintainers.sternenseemann ];
|
2023-03-08 16:32:21 +00:00
|
|
|
platforms = platforms.linux;
|
2021-07-04 02:40:35 +00:00
|
|
|
};
|
|
|
|
}
|