2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab
|
2020-07-07 18:56:15 +01:00
|
|
|
, meson, ninja, pkg-config, scdoc
|
2020-06-13 03:31:01 +01:00
|
|
|
, mesa, lz4, zstd, ffmpeg, libva
|
2019-08-31 21:48:50 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-12-19 13:39:08 +00:00
|
|
|
pname = "waypipe";
|
|
|
|
version = "0.8.2";
|
2019-08-31 21:48:50 +01:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.freedesktop.org";
|
|
|
|
owner = "mstoeckl";
|
|
|
|
repo = "waypipe";
|
|
|
|
rev = "v${version}";
|
2021-12-19 13:39:08 +00:00
|
|
|
sha256 = "02q8l1qaahmd41h6v3r46akh7xlqz7fpwwsy15qww4jdvypg6vg4";
|
2019-08-31 21:48:50 +01:00
|
|
|
};
|
|
|
|
|
2021-11-30 06:00:10 +00:00
|
|
|
strictDeps = true;
|
|
|
|
depsBuildBuild = [ pkg-config ];
|
2020-07-07 18:56:15 +01:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config scdoc ];
|
2019-08-31 21:48:50 +01:00
|
|
|
buildInputs = [
|
|
|
|
# Optional dependencies:
|
2020-06-13 03:31:01 +01:00
|
|
|
mesa lz4 zstd ffmpeg libva
|
2019-08-31 21:48:50 +01:00
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-08-31 21:48:50 +01:00
|
|
|
description = "A network proxy for Wayland clients (applications)";
|
|
|
|
longDescription = ''
|
|
|
|
waypipe is a proxy for Wayland clients. It forwards Wayland messages and
|
|
|
|
serializes changes to shared memory buffers over a single socket. This
|
|
|
|
makes application forwarding similar to ssh -X feasible.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://mstoeckl.com/notes/gsoc/blog.html";
|
2020-07-07 18:56:15 +01:00
|
|
|
changelog = "https://gitlab.freedesktop.org/mstoeckl/waypipe/-/releases#v${version}";
|
2019-08-31 21:48:50 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ primeos ];
|
|
|
|
};
|
|
|
|
}
|