7f5b839524
`selectVersion ./foo "bar"' instead of `import ./foo/bar.nix'. * Replaced `with args' with formal function arguments in several packages. * Renamed several files to `default.nix'. As a general rule, version numbers should only be included in the filename when there is a reason to keep multiple versions of a package in Nixpkgs. Otherwise, it just makes it harder to update the package. svn path=/nixpkgs/trunk/; revision=18403
28 lines
919 B
Nix
28 lines
919 B
Nix
args : with args; with builderDefs;
|
|
let localDefs = builderDefs.passthru.function (rec {
|
|
src = /* put a fetchurl here */
|
|
fetchurl {
|
|
url = mirror://sourceforge/libvncserver/x11vnc-0.9.3.tar.gz;
|
|
sha256 = "0sfzkbqd2d94w51czci9w5j5z67amcl1gphgg6x77dyr2h46kc0a";
|
|
};
|
|
|
|
buildInputs = [libXfixes fixesproto openssl libXdamage damageproto
|
|
zlib libX11 xproto libjpeg libXtst libXinerama xineramaproto
|
|
libXrandr randrproto libXext xextproto inputproto recordproto libXi
|
|
libXrender renderproto];
|
|
configureFlags = [];
|
|
});
|
|
in with localDefs;
|
|
stdenv.mkDerivation rec {
|
|
name = "x11vnc-0.9.3";
|
|
builder = writeScript (name + "-builder")
|
|
(textClosure localDefs
|
|
[doConfigure doMakeInstall doForceShare doPropagate]);
|
|
meta = {
|
|
description = "A VNC server connected to a real X11 screen";
|
|
homepage = "http://www.karlrunge.com/x11vnc/";
|
|
inherit src;
|
|
};
|
|
}
|
|
|