nixpkgs/pkgs/os-specific/linux/ixgbevf/default.nix
Eelco Dolstra 04eb7492dc ixgbevf: Init at 3.2.2
This driver is necessary for Enhanced Networking on most EC2 instance
types.
2016-07-07 17:51:10 +02:00

27 lines
778 B
Nix

{ stdenv, fetchurl, kernel, kmod }:
stdenv.mkDerivation rec {
name = "ixgbevf-${version}-${kernel.version}";
version = "3.2.2";
src = fetchurl {
url = "mirror://sourceforge/e1000/ixgbevf-${version}.tar.gz";
sha256 = "1i6ry3vd77190sxb47xhbz3v30gighwax6prav4ggs3q80a389c8";
};
configurePhase = ''
cd src
makeFlagsArray+=(KSRC=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build INSTALL_MOD_PATH=$out MANDIR=/share/man)
substituteInPlace common.mk --replace /sbin/depmod ${kmod}/bin/depmod
'';
enableParallelBuilding = true;
meta = {
description = "Intel 82599 Virtual Function Driver";
homepage = https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/;
license = stdenv.lib.licenses.gpl2;
priority = 20;
};
}