microcode{Amd,Intel},iucode-tool: Format package files

Signed-off-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
Felix Singer 2024-09-07 22:24:25 +02:00
parent e8c405cdd2
commit e8af0a82be
3 changed files with 32 additions and 8 deletions

View File

@ -1,4 +1,9 @@
{ lib, stdenv, linux-firmware, libarchive }:
{
lib,
stdenv,
linux-firmware,
libarchive,
}:
stdenv.mkDerivation {
pname = "amd-ucode";

View File

@ -1,4 +1,10 @@
{ lib, stdenv, fetchFromGitHub, libarchive, iucode-tool }:
{
lib,
stdenv,
fetchFromGitHub,
libarchive,
iucode-tool,
}:
stdenv.mkDerivation rec {
pname = "microcode-intel";
@ -11,7 +17,10 @@ stdenv.mkDerivation rec {
hash = "sha256-O2UWa04MnU9ndzvWy8fruOTm85PexEd+i1McQNz6uFE=";
};
nativeBuildInputs = [ iucode-tool libarchive ];
nativeBuildInputs = [
iucode-tool
libarchive
];
installPhase = ''
runHook preInstall

View File

@ -1,13 +1,20 @@
{ lib, stdenv, fetchFromGitLab, autoreconfHook, fetchpatch, argp-standalone }:
{
lib,
stdenv,
fetchFromGitLab,
autoreconfHook,
fetchpatch,
argp-standalone,
}:
stdenv.mkDerivation rec {
pname = "iucode-tool";
version = "2.3.1";
src = fetchFromGitLab {
owner = "iucode-tool";
repo = "iucode-tool";
rev = "v${version}";
owner = "iucode-tool";
repo = "iucode-tool";
rev = "v${version}";
sha256 = "04dlisw87dd3q3hhmkqc5dd58cp22fzx3rzah7pvcyij135yjc3a";
};
@ -31,6 +38,9 @@ stdenv.mkDerivation rec {
homepage = "https://gitlab.com/iucode-tool/iucode-tool";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ peterhoeg ];
platforms = [ "x86_64-linux" "i686-linux" ];
platforms = [
"x86_64-linux"
"i686-linux"
];
};
}