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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
1.2 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja, scdoc, wayland-scanner
2022-07-10 08:59:05 +00:00
, pixman, libxkbcommon, wayland, neatvnc, libdrm, libX11, aml, pam, mesa
2020-02-23 13:49:02 +00:00
}:
stdenv.mkDerivation rec {
pname = "wayvnc";
2022-07-10 08:59:05 +00:00
version = "0.5.0";
2020-02-23 13:49:02 +00:00
src = fetchFromGitHub {
owner = "any1";
repo = pname;
rev = "v${version}";
2022-07-10 08:59:05 +00:00
sha256 = "sha256-/OKkQKt43lR0UCmQeSDMl1hXh03k+dX3UweigMWEUx4=";
2020-02-23 13:49:02 +00:00
};
2022-09-24 06:35:31 +00:00
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ meson pkg-config ninja scdoc wayland-scanner ];
2022-07-10 08:59:05 +00:00
buildInputs = [ pixman libxkbcommon wayland neatvnc libdrm libX11 aml pam mesa ];
2020-02-23 13:49:02 +00:00
meta = with lib; {
2020-02-23 13:49:02 +00:00
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 12:44:27 +00:00
changelog = "https://github.com/any1/wayvnc/releases/tag/v${version}";
2020-02-23 13:49:02 +00:00
license = licenses.isc;
platforms = platforms.linux;
maintainers = with maintainers; [ nickcao ];
2020-02-23 13:49:02 +00:00
};
}