cpuid: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-07 00:25:54 +02:00
parent 995957eaf0
commit f5294c9c03

View file

@ -1,7 +1,8 @@
{ lib {
, stdenv lib,
, fetchurl stdenv,
, perl fetchurl,
perl,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -14,14 +15,10 @@ stdenv.mkDerivation rec {
}; };
# 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"
];
}; };
} }