3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #78573 from Moredread/lzbench

lzbench: 20170208 -> 1.8
This commit is contained in:
Mario Rodas 2020-02-14 06:22:54 -05:00 committed by GitHub
commit 20bc3aa323
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,19 +1,18 @@
{ stdenv, fetchFromGitHub }: { stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "lzbench-20170208"; pname = "lzbench";
version = "1.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "inikep"; owner = "inikep";
repo = "lzbench"; repo = pname;
rev = "d5e9b58"; rev = "v${version}";
sha256 = "16xj5fldwl639f0ys5rx54csbfvf35ja34bdl5m068hdn6dr47r5"; sha256 = "0gxw9b3yjj3z2b1y9mx3yfhklyxpfmb8fjf9mfpg9hlbr9mcpff3";
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
buildInputs = stdenv.lib.optionals stdenv.isLinux [ stdenv.glibc.static ];
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
cp lzbench $out/bin cp lzbench $out/bin