internal/rosa/package: migrate remaining trivial packages

The rest are migrated individually.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-20 05:57:13 +09:00
parent 1a9974ffdc
commit 656059278d
24 changed files with 341 additions and 419 deletions

View File

@@ -0,0 +1,51 @@
package squashfs-tools {
description = "tools to create and extract Squashfs filesystems";
website = "https://github.com/plougher/squashfs-tools";
anitya = 4879;
version* = "4.7.5";
source = remoteGitHubRelease {
suffix = "plougher/squashfs-tools";
tag = version;
name = "squashfs-tools-"+version+".tar.gz";
checksum = "rF52wLQP-jeAmcD-48wqJcck8ZWRFwkax3T-7snaRf5EBnCQQh0YypMY9lwcivLz";
compress = gzip;
};
// uses source tree as scratch space
writable = true;
chmod = true;
env = [
"CONFIG=1",
"XZ_SUPPORT=0",
"LZO_SUPPORT=0",
"LZ4_SUPPORT=0",
"COMP_DEFAULT=zstd",
"USE_PREBUILT_MANPAGES=y",
];
early = "cd squashfs-tools";
exec = make {
skipConfigure = true;
inPlace = true;
skipCheck = true;
install = "make INSTALL_PREFIX=/work/system install";
};
inputs = [
sed,
zstd,
gzip,
zlib,
];
runtime = [
zstd,
gzip,
zlib,
];
}