2008-03-17 07:29:32 +01:00
|
|
|
|
2008-08-19 07:54:09 +02:00
|
|
|
args : with args; with builderDefs.meta.function {src="";};
|
|
|
|
let localDefs = builderDefs.meta.function ((rec {
|
2008-03-17 07:29:32 +01: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];
|
|
|
|
doCreatePrefix = FullDepEntry (''
|
|
|
|
ensureDir $out
|
|
|
|
'') ["defEnsureDir"];
|
|
|
|
configureFlags = [];
|
2008-08-19 07:54:09 +02:00
|
|
|
}) // args); /* null is a terminator for sumArgs */
|
2008-03-17 07:29:32 +01:00
|
|
|
in with localDefs;
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "x2vnc-"+version;
|
|
|
|
builder = writeScript (name + "-builder")
|
|
|
|
(textClosure localDefs
|
|
|
|
[doConfigure doCreatePrefix doMakeInstall doForceShare doPropagate]);
|
|
|
|
meta = {
|
|
|
|
description = "
|
|
|
|
x2vnc - program to control remote VNC server.
|
|
|
|
";
|
|
|
|
inherit src;
|
|
|
|
};
|
|
|
|
}
|