blob: be0491007e244ce343d7d6747119ab80d743e845 (
plain) (
blame)
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
|
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "lzbench";
version = "1.8";
src = fetchFromGitHub {
owner = "inikep";
repo = pname;
rev = "v${version}";
sha256 = "0gxw9b3yjj3z2b1y9mx3yfhklyxpfmb8fjf9mfpg9hlbr9mcpff3";
};
enableParallelBuilding = true;
installPhase = ''
mkdir -p $out/bin
cp lzbench $out/bin
'';
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "In-memory benchmark of open-source LZ77/LZSS/LZMA compressors";
license = licenses.free;
platforms = platforms.all;
};
}
|