forked from mirrors/nixpkgs
x86info-1.30
This commit is contained in:
parent
b3a23081e3
commit
2fd4313f6c
24
pkgs/os-specific/linux/x86info/default.nix
Normal file
24
pkgs/os-specific/linux/x86info/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{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 = {
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [jcumming];
|
||||
description = "x86info, a CPU identification utility.";
|
||||
};
|
||||
}
|
|
@ -1749,6 +1749,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 {
|
||||
|
|
Loading…
Reference in a new issue