3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/compression/lzbench/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
581 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
2020-01-27 01:49:23 +00:00
pname = "lzbench";
2020-09-05 08:00:27 +01:00
version = "1.8.1";
src = fetchFromGitHub {
owner = "inikep";
2020-01-27 01:49:23 +00:00
repo = pname;
rev = "v${version}";
2020-09-05 08:00:27 +01:00
sha256 = "19zlvcjb1qg4fx30rrp6m650660y35736j8szvdxmqh9ipkisyia";
};
enableParallelBuilding = true;
installPhase = ''
mkdir -p $out/bin
cp lzbench $out/bin
'';
meta = with lib; {
inherit (src.meta) homepage;
description = "In-memory benchmark of open-source LZ77/LZSS/LZMA compressors";
license = licenses.free;
platforms = platforms.all;
};
}