Skip to content

Commit

Permalink
zstd: 1.3.5 -> 1.3.6 (NixOS#47965)
Browse files Browse the repository at this point in the history
  • Loading branch information
dywedir authored and xeji committed Oct 14, 2018
1 parent 0e0340e commit c8f7188
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions pkgs/tools/compression/zstd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

stdenv.mkDerivation rec {
name = "zstd-${version}";
version = "1.3.5";
version = "1.3.6";

src = fetchFromGitHub {
sha256 = "0fpv8k16s14g0r552mhbh0mkr716cqy41d2znyrvks6qfphkgir4";
sha256 = "1x4a8r4m68m93q52ffxvaip9nnwx9yqvd1m90v80777c11s20a4n";
rev = "v${version}";
repo = "zstd";
owner = "facebook";
Expand All @@ -21,8 +21,11 @@ stdenv.mkDerivation rec {
];

checkInputs = [ file ];
doCheck = false; # fails with "zstd: --list does not support reading from standard input"
# probably a bug
doCheck = true;
preCheck = ''
substituteInPlace tests/playTests.sh \
--replace 'MD5SUM="md5 -r"' 'MD5SUM="md5sum"'
'';

installFlags = [
"PREFIX=$(out)"
Expand Down

0 comments on commit c8f7188

Please sign in to comment.