1 { lib, stdenv, fetchFromGitHub, autoreconfHook }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 hash = "sha256-OZfsEk6sTTvwgAetjilSWbkfC1nMQnPH3oL0IeuqObA=";
14 nativeBuildInputs = [ autoreconfHook ];
17 homepage = "https://libcpuid.sourceforge.net/";
18 description = "Small C library for x86 CPU detection and feature extraction";
19 mainProgram = "cpuid_tool";
20 changelog = "https://raw.githubusercontent.com/anrieff/libcpuid/master/ChangeLog";
21 license = licenses.bsd2;
22 maintainers = with maintainers; [ orivej artuuge ];
23 platforms = platforms.x86;