blob: 7f07a90d496090a6b534bc2297d2bd3c9dd27453 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
package zstd {
description = "a fast compression algorithm";
website = "https://facebook.github.io/zstd";
anitya = 12083;
version# = "1.6.0";
source = remoteGitHubRelease {
suffix = "facebook/zstd";
tag = "v"+version;
name = "zstd-"+version+".tar.zst";
checksum = "3v_38ut5kzlf2JSAPi_7lMkOR49fw9a_CWMbTh2At5NOvkCgjRToD3fbn-RQOFt9";
compress = zstd;
};
// tests Makefile assumes writable source
writable = true;
chmod = true;
exec = cmake {
append = [ "build", "cmake" ];
test = arch {
default = `
make -C /source/tests datagen
ZSTD_BIN=/cure/programs/zstd /source/tests/playTests.sh
`;
// does not use ctest
cross = nil;
};
};
tools = [
make,
diffutils,
];
}
|