2008-01-07 23:54:30 +01:00
|
|
|
{stdenv, fetchurl, kernel, xlibs, gtkLibs}:
|
2007-05-28 16:10:46 +02:00
|
|
|
|
2007-07-12 13:52:34 +02:00
|
|
|
let
|
|
|
|
|
2008-01-24 13:50:19 +01:00
|
|
|
versionNumber = "169.09";
|
2007-07-12 13:52:34 +02:00
|
|
|
|
|
|
|
in
|
2008-01-07 23:54:30 +01:00
|
|
|
|
2007-05-28 16:10:46 +02:00
|
|
|
stdenv.mkDerivation {
|
2007-07-12 13:52:34 +02:00
|
|
|
name = "nvidiaDrivers-" + versionNumber;
|
2007-05-28 16:10:46 +02:00
|
|
|
builder = ./builder.sh;
|
|
|
|
|
2008-01-07 23:54:30 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://us.download.nvidia.com/XFree86/Linux-x86/${versionNumber}/NVIDIA-Linux-x86-${versionNumber}-pkg1.run";
|
2008-01-24 13:50:19 +01:00
|
|
|
sha256 = "1m3k2jyxi3xxpm6890y0d97jisnxiyyay59ss2r9abyvpkv3by8i";
|
2007-05-28 16:10:46 +02:00
|
|
|
};
|
|
|
|
|
2008-01-07 23:54:30 +01:00
|
|
|
#xenPatch = ./nvidia-2.6.24-xen.patch;
|
2007-05-28 16:10:46 +02:00
|
|
|
|
2008-01-07 23:54:30 +01:00
|
|
|
inherit versionNumber kernel;
|
2007-05-28 16:10:46 +02:00
|
|
|
|
2008-01-07 23:54:30 +01:00
|
|
|
libPath = [
|
|
|
|
gtkLibs.gtk gtkLibs.atk gtkLibs.pango gtkLibs.glib
|
|
|
|
xlibs.libXext xlibs.libX11 xlibs.libXv
|
2007-05-28 16:10:46 +02:00
|
|
|
];
|
|
|
|
}
|