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-03-06 13:07:50 +01:00
|
|
|
versionNumber = "169.12";
|
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 {
|
2008-05-22 14:01:24 +02:00
|
|
|
name = "nvidiaDrivers-${versionNumber}-${kernel.version}";
|
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-03-06 13:07:50 +01:00
|
|
|
sha256 = "0bxxjp30bysqaviqjq05vmrhp17w3qn94iwwwj074qmi710zffyy";
|
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-03-04 11:06:21 +01:00
|
|
|
dontStrip = true;
|
|
|
|
|
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
|
|
|
];
|
|
|
|
}
|