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