2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, xorg }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "x2vnc";
|
|
|
|
version = "1.7.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-05 21:33:18 +00:00
|
|
|
url = "https://fredrik.hubbe.net/x2vnc/x2vnc-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "00bh9j3m6snyd2fgnzhj5vlkj9ibh69gfny9bfzlxbnivb06s1yw";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with xorg; [
|
|
|
|
libX11 xorgproto libXext libXrandr
|
|
|
|
];
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://fredrik.hubbe.net/x2vnc.html";
|
|
|
|
description = "A program to control a remote VNC server";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.gpl2;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "x2vnc";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|