Files
hakurei/internal/rosa/package/zstd.az
T
2026-07-24 00:06:18 +09:00

32 lines
652 B
Go

package zstd {
description = "a fast compression algorithm";
website = "https://facebook.github.io/zstd";
anitya = 12083;
version# = "1.5.7";
source = remoteGitHubRelease {
suffix = "facebook/zstd";
tag = "v"+version;
name = "zstd-"+version+".tar.zst";
checksum = "iUIf2pzFlXjJFudQrUULhLTaLMt-u2WLqondzPaEMwwawRNrE44gd4DPwX3w6drX";
compress = zstd;
};
// tests Makefile assumes writable source
writable = true;
chmod = true;
exec = cmake {
append = [ "build", "cmake" ];
test = `
make -C /usr/src/zstd/tests datagen
ZSTD_BIN=/cure/programs/zstd /usr/src/zstd/tests/playTests.sh
`;
};
inputs = [
make,
diffutils,
];
}