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.

77 lines
1.4 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, scdoc
, wayland-scanner
, aml
, jansson
, libxkbcommon
, mesa
, neatvnc
, pam
, pixman
, wayland
2020-02-23 13:49:02 +00:00
}:
stdenv.mkDerivation rec {
pname = "wayvnc";
2023-01-31 18:52:49 +00:00
version = "0.6.2";
2020-02-23 13:49:02 +00:00
src = fetchFromGitHub {
owner = "any1";
repo = pname;
rev = "v${version}";
2023-01-31 18:52:49 +00:00
sha256 = "sha256-yNWTTjlmMCMTed1SiRep3iUxchQya1GnTVoub1cpR14=";
2020-02-23 13:49:02 +00:00
};
strictDeps = true;
depsBuildBuild = [
pkg-config
];
nativeBuildInputs = [
meson
ninja
pkg-config
scdoc
wayland-scanner
];
buildInputs = [
aml
jansson
libxkbcommon
mesa
neatvnc
pam
pixman
wayland
];
mesonFlags = [
(lib.mesonBool "tests" true)
];
doCheck = true;
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
};
}