2012-06-28 19:54:24 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2012-09-16 22:36:43 +02:00
|
|
|
name = "amd-ucode-2012-09-10";
|
2012-06-28 19:54:24 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.amd64.org/pub/microcode/${name}.tar";
|
2012-09-16 22:36:43 +02:00
|
|
|
sha256 = "065phvhx5hx5ssdd1x2p5m1yv26ak7l5aaw6yk6h95x9mxn5r111";
|
2012-06-28 19:54:24 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/amd-ucode
|
|
|
|
mv microcode_amd_fam15h.bin microcode_amd.bin $out/amd-ucode/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "AMD Processor Microcode Patch";
|
|
|
|
homepage = "http://www.amd64.org/support/microcode.html";
|
|
|
|
license = "non-free";
|
|
|
|
};
|
|
|
|
}
|