forked from rosa/hakurei
This uses more intuitive names for some arguments and inverts their default value. Slices and nil-capable strings replace skip arguments. Signed-off-by: Ophestra <cat@gensokyo.uk>
48 lines
893 B
Go
48 lines
893 B
Go
package firmware {
|
|
description = "firmware blobs for use with the Linux kernel";
|
|
website = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git";
|
|
anitya = 141464;
|
|
|
|
version# = "20260622";
|
|
source = remoteGitLab {
|
|
domain = "gitlab.com";
|
|
suffix = "kernel-firmware/linux-firmware";
|
|
ref = version;
|
|
checksum = "gpytkDM58EVjaUuryOekcekh_rWsfuv3S7LQxopHlNlVGmMsuqNwfug4BjgTgizE";
|
|
};
|
|
|
|
// dedup creates temporary file
|
|
writable = true;
|
|
|
|
// does not use configure
|
|
enterSource = true;
|
|
|
|
env = [
|
|
"HOME=/proc/nonexistent",
|
|
];
|
|
|
|
exec = make {
|
|
defaults = false;
|
|
chdir = false;
|
|
|
|
configure = nil;
|
|
make = [
|
|
"DESTDIR=/work/system",
|
|
"install-zst",
|
|
];
|
|
|
|
// requires pre-commit
|
|
check = nil;
|
|
|
|
install = "make " + jobsFlagE + " " + loadFlagE + " DESTDIR=/work/system dedup";
|
|
};
|
|
|
|
inputs = [
|
|
parallel,
|
|
rdfind,
|
|
zstd,
|
|
findutils,
|
|
coreutils,
|
|
];
|
|
}
|