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

Signed-off-by: Felix Singer <felixsinger@posteo.net>

Changed files
+32 -8
pkgs
os-specific
+6 -1
pkgs/os-specific/linux/microcode/amd.nix
···
-
{ lib, stdenv, linux-firmware, libarchive }:
+
{
+
lib,
+
stdenv,
+
linux-firmware,
+
libarchive,
+
}:
stdenv.mkDerivation {
pname = "amd-ucode";
+11 -2
pkgs/os-specific/linux/microcode/intel.nix
···
-
{ lib, stdenv, fetchFromGitHub, libarchive, iucode-tool }:
+
{
+
lib,
+
stdenv,
+
fetchFromGitHub,
+
libarchive,
+
iucode-tool,
+
}:
stdenv.mkDerivation rec {
pname = "microcode-intel";
···
hash = "sha256-O2UWa04MnU9ndzvWy8fruOTm85PexEd+i1McQNz6uFE=";
};
-
nativeBuildInputs = [ iucode-tool libarchive ];
+
nativeBuildInputs = [
+
iucode-tool
+
libarchive
+
];
installPhase = ''
runHook preInstall
+15 -5
pkgs/os-specific/linux/microcode/iucode-tool.nix
···
-
{ 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";
};
···
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"
+
];
};
}