internal/rosa/package/strace: build from git sources

This removes xz input. This change also enables tests.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
cat
2026-07-25 01:40:47 +09:00
parent 5e655a0bf6
commit b647170d0c
4 changed files with 126 additions and 38 deletions
+35
View File
@@ -0,0 +1,35 @@
package strace {
description = "a diagnostic, debugging and instructional userspace utility";
website = "https://strace.io";
anitya = 4897;
version# = "7.1";
source = remoteGit {
url = "https://github.com/strace/strace.git";
tag = "v"+version;
checksum = "vGwgAAi_mGsoICDYHK9Vhbn2hBR0JIoUEkCKhLA2JHFg8NFvGsYEWGIafdnsN0_v";
};
patches = [
"tests-musl.patch",
"skip-broken-tests.patch",
];
exec = make {
generate = "tee .version .tarball-version <<< '"+version+"' > /dev/null && "+
"./bootstrap";
configure = {
// tests broken on clang
"disable-gcc-Werror";
"enable-mpers": "no";
};
};
inputs = [
bash,
gawk,
automake,
kernel-headers,
];
}