nixpkgs-suyu/pkgs/applications/networking/remote/wayvnc/default.nix

35 lines
1.2 KiB
Nix
Raw Normal View History

2020-09-29 12:38:38 +02:00
{ stdenv, fetchFromGitHub, meson, pkg-config, ninja, scdoc
2020-07-28 14:58:04 +02:00
, pixman, libxkbcommon, wayland, neatvnc, libdrm, libX11, aml
2020-02-23 14:49:02 +01:00
}:
stdenv.mkDerivation rec {
pname = "wayvnc";
2020-09-29 12:38:38 +02:00
version = "0.3.1";
2020-02-23 14:49:02 +01:00
src = fetchFromGitHub {
owner = "any1";
repo = pname;
rev = "v${version}";
2020-09-29 12:38:38 +02:00
sha256 = "1vlrk6zdkv0kl1ckxv65nay9vm6yjrs4kadsdvp42nryiifrdhad";
2020-02-23 14:49:02 +01:00
};
2020-09-29 12:38:38 +02:00
nativeBuildInputs = [ meson pkg-config ninja scdoc wayland ];
2020-07-28 14:58:04 +02:00
buildInputs = [ pixman libxkbcommon wayland neatvnc libdrm libX11 aml ];
2020-02-23 14:49:02 +01:00
meta = with stdenv.lib; {
description = "A VNC server for wlroots based Wayland compositors";
longDescription = ''
This is a VNC server for wlroots based Wayland compositors. It attaches
to a running Wayland session, creates virtual input devices and exposes a
single display via the RFB protocol. The Wayland session may be a
headless one, so it is also possible to run wayvnc without a physical
display attached.
'';
inherit (src.meta) homepage;
2020-03-05 13:44:27 +01:00
changelog = "https://github.com/any1/wayvnc/releases/tag/v${version}";
2020-02-23 14:49:02 +01:00
license = licenses.isc;
platforms = platforms.linux;
maintainers = with maintainers; [ primeos ];
};
}