1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

lzbench: 20170208 -> 1.8

This commit is contained in:
André-Patrick Bubel 2020-01-27 02:49:23 +01:00
parent d571ad2748
commit de1411f0d4
No known key found for this signature in database
GPG key ID: 28925CBA8869FF29

View file

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