lol
1{ lib, stdenv, fetchFromGitLab
2, meson, ninja, pkg-config, scdoc
3, mesa, lz4, zstd, ffmpeg, libva
4}:
5
6stdenv.mkDerivation rec {
7 pname = "waypipe-unstable";
8 version = "0.8.1";
9
10 src = fetchFromGitLab {
11 domain = "gitlab.freedesktop.org";
12 owner = "mstoeckl";
13 repo = "waypipe";
14 rev = "v${version}";
15 sha256 = "1v08dv3dfz420v51ahz7qgv3429073kmgrf8f66s4c3jlpch2pa1";
16 };
17
18 nativeBuildInputs = [ meson ninja pkg-config scdoc ];
19
20 buildInputs = [
21 # Optional dependencies:
22 mesa lz4 zstd ffmpeg libva
23 ];
24
25 meta = with lib; {
26 description = "A network proxy for Wayland clients (applications)";
27 longDescription = ''
28 waypipe is a proxy for Wayland clients. It forwards Wayland messages and
29 serializes changes to shared memory buffers over a single socket. This
30 makes application forwarding similar to ssh -X feasible.
31 '';
32 homepage = "https://mstoeckl.com/notes/gsoc/blog.html";
33 changelog = "https://gitlab.freedesktop.org/mstoeckl/waypipe/-/releases#v${version}";
34 license = licenses.mit;
35 platforms = platforms.linux;
36 maintainers = with maintainers; [ primeos ];
37 };
38}