2015-02-10 01:27:04 +00:00
|
|
|
{ stdenv, fetchurl, kernel }:
|
|
|
|
let version = "20140928";
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
name = "vhba-${version}";
|
|
|
|
src = fetchurl {
|
2016-02-28 12:07:42 +00:00
|
|
|
url = "mirror://sourceforge/cdemu/vhba-module-${version}.tar.bz2";
|
2015-02-10 01:27:04 +00:00
|
|
|
sha256 = "18jmpg2kpx87f32b8aprr1pxla9dlhf901rkj1sp3ammf94nxxa5";
|
|
|
|
};
|
|
|
|
preBuild = ''
|
|
|
|
makeFlags="KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build INSTALL_MOD_PATH=$out";
|
|
|
|
'';
|
|
|
|
}
|