zstd: 1.3.8 -> 1.4.0

https://github.com/facebook/zstd/releases/tag/v1.4.0
This commit is contained in:
Will Dietz 2019-04-17 22:06:48 -05:00
parent 5b7f58701c
commit b25ffa1246

View File

@ -5,10 +5,10 @@
stdenv.mkDerivation rec {
name = "zstd-${version}";
version = "1.3.8";
version = "1.4.0";
src = fetchFromGitHub {
sha256 = "03jfbjzgqy5gvpym28r2phphdn536zvwfc6cw58ffk5ssm6blnqd";
sha256 = "1gfxi3ymgavjfxh84rhfjan7l4pymwfrn051nwc7n0s3mxp09m6v";
rev = "v${version}";
repo = "zstd";
owner = "facebook";
@ -33,8 +33,8 @@ stdenv.mkDerivation rec {
preInstall = ''
substituteInPlace programs/zstdgrep \
--replace "=grep" "=${gnugrep}/bin/grep" \
--replace "=zstdcat" "=$out/bin/zstdcat"
--replace ":-grep" ":-${gnugrep}/bin/grep" \
--replace ":-zstdcat" ":-$out/bin/zstdcat"
substituteInPlace programs/zstdless \
--replace "zstdcat" "$out/bin/zstdcat"