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-06-02 15:40:04 +02:00
|
|
|
versionNumber = "173.14.05";
|
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-06-02 15:40:04 +02:00
|
|
|
sha256 = "14r3zddrppd0zxq76dd08dlj4qqncr7fj9cnrny4f0b5d0qgrd3f";
|
2008-05-29 15:22:12 +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
|
|
|
];
|
|
|
|
}
|