summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/compression/zstd
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-12-17 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2020-12-17 04:20:00 +0000
commit99061cb6ac8197d456692ccec06a6bfa8354917a (patch)
treeabcffa024fbe929d3a830b2c2484ddfd436e02c8 /pkgs/tools/compression/zstd
parent266489aefb1d5a4cdc4616aa4d95a789e64ae0ad (diff)
zstd: 1.4.5 -> 1.4.8
+ https://github.com/facebook/zstd/releases/tag/v1.4.7 + https://github.com/facebook/zstd/releases/tag/v1.4.8
Diffstat (limited to 'pkgs/tools/compression/zstd')
-rw-r--r--pkgs/tools/compression/zstd/default.nix11
1 files changed, 4 insertions, 7 deletions
diff --git a/pkgs/tools/compression/zstd/default.nix b/pkgs/tools/compression/zstd/default.nix
index c26ca507525f..913a94e1a003 100644
--- a/pkgs/tools/compression/zstd/default.nix
+++ b/pkgs/tools/compression/zstd/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, fetchpatch, cmake, bash, gnugrep
+{ stdenv, fetchFromGitHub, cmake, bash, gnugrep
, fixDarwinDylibNames
, file
, legacySupport ? false
@@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "zstd";
- version = "1.4.5";
+ version = "1.4.8";
src = fetchFromGitHub {
owner = "facebook";
repo = "zstd";
rev = "v${version}";
- sha256 = "0ay3qlk4sffnmcl3b34q4zd7mkcmjds023icmib1mdli97qcp38l";
+ sha256 = "018zgigp5xlrb4mgshgrvns0cfbhhcg89cifbjj4rv6s3n9riphw";
};
nativeBuildInputs = [ cmake ]
@@ -22,10 +22,6 @@ stdenv.mkDerivation rec {
patches = [
./playtests-darwin.patch
- (fetchpatch {
- url = "https://github.com/facebook/zstd/pull/2163.patch";
- sha256 = "07mfjc5f9wy0w2xlj36hyf7g5ax9r2rf6ixhkffhnwc6rwy0q54p";
- })
] # This I didn't upstream because if you use posix threads with MinGW it will
# work fine, and I'm not sure how to write the condition.
++ stdenv.lib.optional stdenv.hostPlatform.isWindows ./mcfgthreads-no-pthread.patch;
@@ -88,6 +84,7 @@ stdenv.mkDerivation rec {
property shared by most LZ compression algorithms, such as zlib.
'';
homepage = "https://facebook.github.io/zstd/";
+ changelog = "https://github.com/facebook/zstd/blob/v${version}/CHANGELOG";
license = with licenses; [ bsd3 ]; # Or, at your opinion, GPL-2.0-only.
platforms = platforms.all;