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 {
|
|
|
|
pname = "waypipe-unstable";
|
2021-03-28 19:16:06 +01:00
|
|
|
version = "0.8.0";
|
2019-08-31 21:48:50 +01:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.freedesktop.org";
|
|
|
|
owner = "mstoeckl";
|
|
|
|
repo = "waypipe";
|
|
|
|
rev = "v${version}";
|
2021-03-28 19:16:06 +01:00
|
|
|
sha256 = "1qa47ljfvb1vv3h647xwn1j5j8gfmcmdfaz4j8ygnkvj36y87vnz";
|
2019-08-31 21:48:50 +01:00
|
|
|
};
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|