mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
microcode{Amd,Intel},iucode-tool: Format package files
Signed-off-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
parent
e8c405cdd2
commit
e8af0a82be
@ -1,4 +1,9 @@
|
||||
{ lib, stdenv, linux-firmware, libarchive }:
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
linux-firmware,
|
||||
libarchive,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "amd-ucode";
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user