Added libVNCserver
svn path=/nixpkgs/trunk/; revision=12940
This commit is contained in:
parent
ba2e3a7c36
commit
b28de1b619
29
pkgs/development/libraries/libvncserver/default.nix
Normal file
29
pkgs/development/libraries/libvncserver/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
args :
|
||||||
|
let
|
||||||
|
lib = args.lib;
|
||||||
|
fetchurl = args.fetchurl;
|
||||||
|
|
||||||
|
version = lib.getAttr ["version"] "0.9.1" args;
|
||||||
|
buildInputs = with args; [
|
||||||
|
libtool libjpeg openssl libX11 libXdamage xproto damageproto
|
||||||
|
xextproto libXext fixesproto libXfixes xineramaproto libXinerama
|
||||||
|
libXrandr randrproto libXtst zlib
|
||||||
|
];
|
||||||
|
in
|
||||||
|
rec {
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://downloads.sourceforge.net/libvncserver/LibVNCServer-${version}.tar.gz";
|
||||||
|
sha256 = "10pjhfv0vnfphy4bghygm1bfz983ca6y91mmpsyn1wy16zyagg8g";
|
||||||
|
};
|
||||||
|
|
||||||
|
inherit buildInputs;
|
||||||
|
configureFlags = [];
|
||||||
|
|
||||||
|
/* doConfigure should be specified separately */
|
||||||
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||||
|
|
||||||
|
name = "libvncserver-" + version;
|
||||||
|
meta = {
|
||||||
|
description = "VNC server library";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user