about summary refs log tree commit diff
path: root/pkgs/tools/X11
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2008-03-17 06:29:32 +0000
committerMichael Raskin <7c6f434c@mail.ru>2008-03-17 06:29:32 +0000
commit7698f380a03758c5e816717f8c2c947e6a6c50af (patch)
treeffc4d5207692cd9c8eb72a2f1eaab848b9abb961 /pkgs/tools/X11
parent5204d562ccea075723f66ada0bfd3502fdd07832 (diff)
downloadnixlib-7698f380a03758c5e816717f8c2c947e6a6c50af.tar
nixlib-7698f380a03758c5e816717f8c2c947e6a6c50af.tar.gz
nixlib-7698f380a03758c5e816717f8c2c947e6a6c50af.tar.bz2
nixlib-7698f380a03758c5e816717f8c2c947e6a6c50af.tar.lz
nixlib-7698f380a03758c5e816717f8c2c947e6a6c50af.tar.xz
nixlib-7698f380a03758c5e816717f8c2c947e6a6c50af.tar.zst
nixlib-7698f380a03758c5e816717f8c2c947e6a6c50af.zip
Added x2vnc, a tool to control physically close but formally remote VNC display as an extension of local one.
svn path=/nixpkgs/trunk/; revision=11148
Diffstat (limited to 'pkgs/tools/X11')
-rw-r--r--pkgs/tools/X11/x2vnc/1.7.2.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/X11/x2vnc/1.7.2.nix b/pkgs/tools/X11/x2vnc/1.7.2.nix
new file mode 100644
index 000000000000..50dea60b8908
--- /dev/null
+++ b/pkgs/tools/X11/x2vnc/1.7.2.nix
@@ -0,0 +1,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;
+	};
+}