summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Milata <martin@martinmilata.cz>2020-03-12 21:54:07 +0100
committerAlyssa Ross <hi@alyssa.is>2020-03-12 22:55:06 +0000
commit18ac6ba903828b388c9cfb5bb80bd3fc8667c5ca (patch)
tree2e3dbb75737833e357fc075e66da7e3cd8d5bdbe
parent21f47e641bf40950af1c39cadf52f225994e1010 (diff)
downloadnixpkgs-18ac6ba903828b388c9cfb5bb80bd3fc8667c5ca.tar
nixpkgs-18ac6ba903828b388c9cfb5bb80bd3fc8667c5ca.tar.gz
nixpkgs-18ac6ba903828b388c9cfb5bb80bd3fc8667c5ca.tar.bz2
nixpkgs-18ac6ba903828b388c9cfb5bb80bd3fc8667c5ca.tar.lz
nixpkgs-18ac6ba903828b388c9cfb5bb80bd3fc8667c5ca.tar.xz
nixpkgs-18ac6ba903828b388c9cfb5bb80bd3fc8667c5ca.tar.zst
nixpkgs-18ac6ba903828b388c9cfb5bb80bd3fc8667c5ca.zip
lz4: 1.9.1 -> 1.9.2
Fixes: https://nvd.nist.gov/vuln/detail/CVE-2019-17543
Release notes: https://github.com/lz4/lz4/releases/tag/v1.9.2
-rw-r--r--pkgs/tools/compression/lz4/default.nix14
1 files changed, 3 insertions, 11 deletions
diff --git a/pkgs/tools/compression/lz4/default.nix b/pkgs/tools/compression/lz4/default.nix
index fd967fce9c6..6bc365b8e1e 100644
--- a/pkgs/tools/compression/lz4/default.nix
+++ b/pkgs/tools/compression/lz4/default.nix
@@ -4,23 +4,15 @@
 
 stdenv.mkDerivation rec {
   pname = "lz4";
-  version = "1.9.1";
+  version = "1.9.2";
 
   src = fetchFromGitHub {
-    sha256 = "1l1caxrik1hqs40vj3bpv1pikw6b74cfazv5c0v6g48zpcbmshl0";
+    sha256 = "0lpaypmk70ag2ks3kf2dl4ac3ba40n5kc1ainkp9wfjawz76mh61";
     rev = "v${version}";
     repo = pname;
     owner = pname;
   };
 
-  patches = [
-    # Fix detection of Darwin
-    (fetchpatch {
-      url = "https://github.com/lz4/lz4/commit/024216ef7394b6411eeaa5b52d0cec9953a44249.patch";
-      sha256 = "0j0j2pr6pkplxf083hlwl5q4cfp86q3wd8mc64bcfcr7ysc5pzl3";
-    })
-  ];
-
   # TODO(@Ericson2314): Separate binaries and libraries
   outputs = [ "bin" "out" "dev" ];
 
@@ -61,7 +53,7 @@ stdenv.mkDerivation rec {
       multiple GB/s per core, typically reaching RAM speed limits on
       multi-core systems.
     '';
-    homepage = https://lz4.github.io/lz4/;
+    homepage = "https://lz4.github.io/lz4/";
     license = with licenses; [ bsd2 gpl2Plus ];
     platforms = platforms.all;
   };