mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
26 lines
730 B
Nix
26 lines
730 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libcpuid";
|
|
version = "0.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "anrieff";
|
|
repo = "libcpuid";
|
|
rev = "v${version}";
|
|
hash = "sha256-OZfsEk6sTTvwgAetjilSWbkfC1nMQnPH3oL0IeuqObA=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://libcpuid.sourceforge.net/";
|
|
description = "Small C library for x86 CPU detection and feature extraction";
|
|
mainProgram = "cpuid_tool";
|
|
changelog = "https://raw.githubusercontent.com/anrieff/libcpuid/master/ChangeLog";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ orivej artuuge ];
|
|
platforms = platforms.x86;
|
|
};
|
|
}
|