1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{ stdenv, fetchFromGitHub
, pkgconfig, meson, ninja
, wayland, wayland-protocols
, libxkbcommon, libvncserver
, libpthreadstubs
, pixman, libuv, libglvnd
, neatvnc, libX11, libdrm
, aml, mesa
}:
let
metadata = import ./metadata.nix;
in
stdenv.mkDerivation rec {
name = "wayvnc-${version}";
version = metadata.rev;
src = fetchFromGitHub {
owner = "any1";
repo = "wayvnc";
rev = metadata.rev;
sha256 = metadata.sha256;
};
nativeBuildInputs = [ pkgconfig meson ninja ];
buildInputs = [
wayland wayland-protocols
libxkbcommon libvncserver
libpthreadstubs
pixman libuv libglvnd
neatvnc libX11 libdrm
aml mesa
];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "A VNC server for wlroots based Wayland compositors";
homepage = "https://github.com/any1/wayvnc";
license = licenses.isc;
platforms = platforms.linux;
maintainers = with maintainers; [ colemickens ];
};
}
|