lzbench: init at 20170208

In-memory benchmark of several up-to-date compressors.

Signed-off-by: Lluís Batlle i Rossell <viric@viric.name>
This commit is contained in:
Lluís Batlle i Rossell 2017-02-27 22:36:27 +01:00
parent 7992ce65fc
commit 9e7ce9010c
No known key found for this signature in database
GPG Key ID: 788610659259C371
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, glibc }:
stdenv.mkDerivation rec {
name = "lzbench-20170208";
src = fetchFromGitHub {
owner = "inikep";
repo = "lzbench";
rev = "d5e9b58";
sha256 = "16xj5fldwl639f0ys5rx54csbfvf35ja34bdl5m068hdn6dr47r5";
};
enableParallelBuilding = true;
buildInputs = stdenv.lib.optionals stdenv.isLinux [ stdenv.glibc.static ];
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;
};
}

View File

@ -2769,6 +2769,8 @@ with pkgs;
lz4 = callPackage ../tools/compression/lz4 { };
lzbench = callPackage ../tools/compression/lzbench { };
lzop = callPackage ../tools/compression/lzop { };
macchanger = callPackage ../os-specific/linux/macchanger { };