2007-12-09 00:33:16 +01:00
|
|
|
args: with args;
|
|
|
|
stdenv.mkDerivation {
|
2007-12-08 16:21:03 +01:00
|
|
|
name = "ndiswrapper-1.49-stable";
|
|
|
|
|
|
|
|
# need at least .config and include
|
|
|
|
inherit kernel;
|
|
|
|
|
|
|
|
buildPhase = "
|
|
|
|
make KBUILD=\$kernel/lib/modules/*/build;
|
|
|
|
";
|
|
|
|
|
|
|
|
# should we use unstable?
|
2008-01-15 15:32:10 +01:00
|
|
|
src = fetchurl {
|
2007-12-08 16:21:03 +01:00
|
|
|
url = http://kent.dl.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-1.49.tar.gz;
|
|
|
|
sha256 = "1b9nqkk7gv6gffzj9b8mjy5myxf2afwpyr2n5wbfsylf15dvvvjr";
|
|
|
|
};
|
|
|
|
|
2007-12-09 00:33:16 +01:00
|
|
|
buildInputs =[kernelHeaders kernel];
|
|
|
|
|
|
|
|
# this is a patch against svn head, not stable version
|
|
|
|
patches = [./prefix.patch];
|
2007-12-08 16:21:03 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Ndis driver wrapper for the Linux kernel";
|
|
|
|
homepage = http://sourceforge.net/projects/ndiswrapper;
|
|
|
|
license = "GPL";
|
|
|
|
};
|
|
|
|
}
|