9 stdenv.mkDerivation rec {
11 version = "unstable-2021-08-07";
13 src = fetchFromGitHub {
14 owner = "kernelslacker";
16 rev = "061ea35ecb0697761b6260998fa2045b8bb0be68";
17 hash = "sha256-/qWioC4dV1bQkU4SiTR8duYqoGIMIH7s8vuAXi75juo=";
29 # causes redefinition of _FORTIFY_SOURCE
30 hardeningDisable = [ "fortify3" ];
33 patchShebangs lsmsr/createheader.py
40 cp lsmsr/lsmsr $out/bin
44 description = "Identification utility for the x86 series of processors";
46 x86info will identify all Intel/AMD/Centaur/Cyrix/VIA CPUs. It leverages
47 the cpuid kernel module where possible. it supports parsing model specific
48 registers (MSRs) via the msr kernel module. it will approximate processor
49 frequency, and identify the cache sizes and layout.
51 platforms = [ "i686-linux" "x86_64-linux" ];
52 license = lib.licenses.gpl2Only;
53 homepage = "https://github.com/kernelslacker/x86info";
54 maintainers = with lib.maintainers; [ jcumming ];