blob: 50dea60b89082fd16006b05361e919b7b46e9fa2 (
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
28
|
args : with args; with builderDefs {src="";} null;
let localDefs = builderDefs (rec {
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 = [];
}) args null; /* null is a terminator for sumArgs */
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;
};
}
|