2008-03-16 23:29:32 -07:00
|
|
|
|
2008-11-04 13:24:10 -08:00
|
|
|
args : with args; with builderDefs.passthru.function {src="";};
|
|
|
|
let localDefs = builderDefs.passthru.function ((rec {
|
2008-03-16 23:29:32 -07:00
|
|
|
src = /* put a fetchurl here */
|
|
|
|
fetchurl {
|
|
|
|
url = http://fredrik.hubbe.net/x2vnc/x2vnc-1.7.2.tar.gz;
|
|
|
|
sha256 = "00bh9j3m6snyd2fgnzhj5vlkj9ibh69gfny9bfzlxbnivb06s1yw";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [libX11 xproto xextproto libXext libXrandr randrproto];
|
2009-05-19 16:25:58 -07:00
|
|
|
doCreatePrefix = fullDepEntry (''
|
2008-03-16 23:29:32 -07:00
|
|
|
ensureDir $out
|
|
|
|
'') ["defEnsureDir"];
|
|
|
|
configureFlags = [];
|
2008-08-18 22:54:09 -07:00
|
|
|
}) // args); /* null is a terminator for sumArgs */
|
2008-03-16 23:29:32 -07:00
|
|
|
in with localDefs;
|
|
|
|
stdenv.mkDerivation rec {
|
2009-11-18 01:39:59 -08:00
|
|
|
name = "x2vnc-1.7.2";
|
2008-03-16 23:29:32 -07:00
|
|
|
builder = writeScript (name + "-builder")
|
|
|
|
(textClosure localDefs
|
|
|
|
[doConfigure doCreatePrefix doMakeInstall doForceShare doPropagate]);
|
|
|
|
meta = {
|
2009-03-03 05:27:40 -08:00
|
|
|
description = "A program to control a remote VNC server";
|
2008-03-16 23:29:32 -07:00
|
|
|
inherit src;
|
|
|
|
};
|
|
|
|
}
|