3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/remote/wayvnc/default.nix

35 lines
1.2 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja, scdoc
2021-01-02 14:14:01 +00:00
, pixman, libxkbcommon, wayland, neatvnc, libdrm, libX11, aml, pam
2020-02-23 13:49:02 +00:00
}:
stdenv.mkDerivation rec {
pname = "wayvnc";
2021-01-02 14:14:01 +00:00
version = "0.4.0";
2020-02-23 13:49:02 +00:00
src = fetchFromGitHub {
owner = "any1";
repo = pname;
rev = "v${version}";
2021-01-02 14:14:01 +00:00
sha256 = "0q48fgh6gf3jicy4bk3kq18h9lhqfq9qz32ri6j9ffvbb8mcw64s";
2020-02-23 13:49:02 +00:00
};
2020-09-29 11:38:38 +01:00
nativeBuildInputs = [ meson pkg-config ninja scdoc wayland ];
2021-01-02 14:14:01 +00:00
buildInputs = [ pixman libxkbcommon wayland neatvnc libdrm libX11 aml pam ];
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; [ primeos ];
};
}