flink_1_5: drop

It suffers from CVE-2020-17518.
This commit is contained in:
Robert Schütz 2021-01-25 16:18:22 +01:00
parent 37c858e55d
commit e912b8e116
3 changed files with 6 additions and 21 deletions

View File

@ -1,27 +1,12 @@
{ lib, stdenv, fetchurl, makeWrapper, jre
, version ? "1.6" }:
let
versionMap = {
"1.5" = {
flinkVersion = "1.5.5";
sha256 = "18wqcqi3gyqd40nspih99gq7ylfs20b35f4dcrspffagwkfp2l4z";
};
"1.6" = {
flinkVersion = "1.11.1";
sha256 = "0338bg2sb427c1rrf2cmsz63sz0yk6gclpli2lskq0mpx72wxpl0";
};
};
in
with versionMap.${version};
{ lib, stdenv, fetchurl, makeWrapper, jre }:
stdenv.mkDerivation rec {
name = "flink-${flinkVersion}";
pname = "flink";
version = "1.11.1";
src = fetchurl {
url = "mirror://apache/flink/${name}/${name}-bin-scala_2.11.tgz";
inherit sha256;
url = "mirror://apache/flink/${pname}-${version}/${pname}-${version}-bin-scala_2.11.tgz";
sha256 = "0338bg2sb427c1rrf2cmsz63sz0yk6gclpli2lskq0mpx72wxpl0";
};
nativeBuildInputs = [ makeWrapper ];

View File

@ -168,6 +168,7 @@ mapAliases ({
firestr = throw "firestr has been removed."; # added 2019-12-08
fish-foreign-env = throw "fish-foreign-env has been replaced with fishPlugins.foreign-env"; # added 2020-12-29, modified 2021-01-10
flameGraph = flamegraph; # added 2018-04-25
flink_1_5 = throw "flink_1_5 was removed, use flink instead"; # added 2021-01-25
flvtool2 = throw "flvtool2 has been removed."; # added 2020-11-03
foldingathome = fahclient; # added 2020-09-03
font-awesome-ttf = font-awesome; # 2018-02-25

View File

@ -21782,7 +21782,6 @@ in
fldigi = callPackage ../applications/radio/fldigi { };
flink = callPackage ../applications/networking/cluster/flink { };
flink_1_5 = flink.override { version = "1.5"; };
fllog = callPackage ../applications/radio/fllog { };