blob: ec1e21b1f794b9a99c4ffb47be53b6b676a3b63d (
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
|
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,
];
}
|