2008-10-04 16:13:31 +01:00
|
|
|
args :
|
|
|
|
let
|
|
|
|
lib = args.lib;
|
|
|
|
fetchurl = args.fetchurl;
|
|
|
|
|
2013-05-06 13:24:28 +01:00
|
|
|
version = lib.attrByPath ["version"] "0.9.9" args;
|
2008-10-04 16:13:31 +01:00
|
|
|
buildInputs = with args; [
|
|
|
|
libtool libjpeg openssl libX11 libXdamage xproto damageproto
|
|
|
|
xextproto libXext fixesproto libXfixes xineramaproto libXinerama
|
|
|
|
libXrandr randrproto libXtst zlib
|
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
2013-07-14 01:31:12 +01:00
|
|
|
url = "mirror://sourceforge/libvncserver/LibVNCServer-${version}.tar.gz";
|
2013-05-06 13:24:28 +01:00
|
|
|
sha256 = "1y83z31wbjivbxs60kj8a8mmjmdkgxlvr2x15yz95yy24lshs1ng";
|
2008-10-04 16:13:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be specified separately */
|
|
|
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
|
|
|
|
|
|
name = "libvncserver-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "VNC server library";
|
|
|
|
};
|
|
|
|
}
|