forked from rosa/hakurei
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:
@@ -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,
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user