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
This commit is contained in:
Martin Milata 2020-03-12 21:54:07 +01:00 committed by Alyssa Ross
parent 21f47e641b
commit 18ac6ba903
1 changed files with 3 additions and 11 deletions
pkgs/tools/compression/lz4

View File

@ -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;
};