summary refs log tree commit diff
path: root/pkgs/tools/X11/x11vnc/0.9.3.nix
blob: 6a58d5b550809b46a581bcae277a0ba565ac03c2 (plain) (blame)
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
args : with args; with builderDefs {src="";} null;
  let localDefs = builderDefs (rec {
    src = /* put a fetchurl here */
    fetchurl {
      url = mirror://sourceforge/libvncserver/x11vnc-0.9.3.tar.gz;
      sha256 = "0sfzkbqd2d94w51czci9w5j5z67amcl1gphgg6x77dyr2h46kc0a";
    };

    buildInputs = [libXfixes fixesproto openssl libXdamage damageproto
      zlib libX11 xproto libjpeg libXtst libXinerama xineramaproto
      libXrandr randrproto libXext xextproto inputproto recordproto];
    configureFlags = [];
  }) null; /* null is a terminator for sumArgs */
  in with localDefs;
stdenv.mkDerivation rec {
  name = "x11vnc-"+version;
  builder = writeScript (name + "-builder")
    (textClosure localDefs 
      [doConfigure doMakeInstall doForceShare doPropagate]);
  meta = {
    description = "
    X11 VNC - VNC server connected to real X11 screen.
";
    homepage = "http://www.karlrunge.com/x11vnc/";
  };
}