Merge pull request #254 from jcumming/x86info.130109

X86info.130109
This commit is contained in:
Peter Simons 2013-01-12 06:09:32 -08:00
commit 4ca4f1564f
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{stdenv, fetchurl, pciutils, python}:
stdenv.mkDerivation rec {
version = "1.30";
name = "x86info-${version}";
src = fetchurl {
url = "http://codemonkey.org.uk/projects/x86info/${name}.tgz";
sha256 = "0a4lzka46nabpsrg3n7akwr46q38f96zfszd73xcback1s2hjc7y";
};
buildInputs = [ pciutils python ];
installPhase = ''
ensureDir $out/bin
cp x86info lsmsr $out/bin
'';
meta = {
description = "An identification utility for the x86 series of processors.";
longDescription =
''
x86info will identify all Intel/AMD/Centaur/Cyrix/VIA CPUs. It leverages
the cpuid kernel module where possible. it supports parsing model specific
registers (MSRs) via the msr kernel module. it will approximate processor
frequency, and identify the cache sizes and layout.
'';
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.gpl2;
homepage = http://codemonkey.org.uk/projects/x86info/;
maintainers = with stdenv.lib.maintainers; [jcumming];
};
}

View File

@ -1753,6 +1753,8 @@ let
wv2 = callPackage ../tools/misc/wv2 { };
x86info = callPackage ../os-specific/linux/x86info { };
x11_ssh_askpass = callPackage ../tools/networking/x11-ssh-askpass { };
xbursttools = assert stdenv ? glibc; import ../tools/misc/xburst-tools {