Merge pull request #302201 from fabaff/cpuid-bump

cpuid: 20230614 -> 20240324
This commit is contained in:
Fabian Affolter 2024-04-07 10:24:55 +02:00 committed by GitHub
commit 7f32f766f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,27 +1,24 @@
{ lib {
, stdenv lib,
, fetchurl stdenv,
, perl fetchurl,
perl,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cpuid"; pname = "cpuid";
version = "20230614"; version = "20240324";
src = fetchurl { src = fetchurl {
url = "http://etallen.com/cpuid/${pname}-${version}.src.tar.gz"; url = "http://etallen.com/cpuid/${pname}-${version}.src.tar.gz";
sha256 = "sha256-scgwRe/CYHYwd1HgZi1YAnf1+b+JzwJyMaeBIAPDpOg="; sha256 = "sha256-3fvFudgBUbsEl16d7BMFEDQZeY0i7/LiRJCD3AhiGEw=";
}; };
# For pod2man during the build process. # For pod2man during the build process.
nativeBuildInputs = [ nativeBuildInputs = [ perl ];
perl
];
# As runtime dependency for cpuinfo2cpuid. # As runtime dependency for cpuinfo2cpuid.
buildInputs = [ buildInputs = [ perl ];
perl
];
# The Makefile hardcodes $(BUILDROOT)/usr as installation # The Makefile hardcodes $(BUILDROOT)/usr as installation
# destination. Just nuke all mentions of /usr to get the right # destination. Just nuke all mentions of /usr to get the right
@ -50,6 +47,9 @@ stdenv.mkDerivation rec {
homepage = "http://etallen.com/cpuid.html"; homepage = "http://etallen.com/cpuid.html";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = with maintainers; [ blitz ]; maintainers = with maintainers; [ blitz ];
platforms = [ "i686-linux" "x86_64-linux" ]; platforms = [
"i686-linux"
"x86_64-linux"
];
}; };
} }