git.iko.soy/typeable/nixpkgs
on master help sign in
flink: drop older versions than current and previous minor release

This is consistent with the update policy as laid out in https://flink.apache.org/downloads.html#update-policy-for-old-releases.

commit8125de3b407d5a394aa2527ce66f81df6ae58f2e authorMaximilian Bode <maximilian.bode@tngtech.com> dateSat 15 Sep 2018, 09:38 (8 years ago) parentc8f6025
2 files changed+1−19
pkgs/applications/networking/cluster/flink/default.nix+1−17 pkgs/top-level/all-packages.nix−2
pkgs/applications/networking/cluster/flink/default.nix+1−17
@@ -3,29 +3,13 @@
33
44let
55 versionMap = {
6− "1.3" = {
7− flinkVersion = "1.3.3";
8− scalaVersion = "2.11";
9− sha256 = "0gfm48k5adr14gnhqri9cd01i9dprd0nwmnnz3yrpd20nq4ap4qy";
10− hadoopBundle = "-hadoop27";
11− };
12− "1.4" = {
13− flinkVersion = "1.4.2";
14− scalaVersion = "2.11";
15− sha256 = "0x3cikys5brin0kx9zr69xfp8k5w6g8141yrrr26ks7gpss2x636";
16− hadoopBundle = "";
17− };
186 "1.5" = {
197 flinkVersion = "1.5.3";
20− scalaVersion = "2.11";
218 sha256 = "1fq7pd5qpchkkwhh30h3l9rhf298jfcfv2dc50z39qmwwijdjajk";
22− hadoopBundle = "";
239 };
2410 "1.6" = {
2511 flinkVersion = "1.6.0";
26− scalaVersion = "2.11";
2712 sha256 = "18fnpldzs36qx7myr9rmym9g9p3qkgnd1z3lfkpbaw590ddaqr9i";
28− hadoopBundle = "";
2913 };
3014 };
3115in
@@ -36,7 +20,7 @@ stdenv.mkDerivation rec {
3620 name = "flink-${flinkVersion}";
3721
3822 src = fetchurl {
39− url = "mirror://apache/flink/${name}/${name}-bin${hadoopBundle}-scala_${scalaVersion}.tgz";
23+ url = "mirror://apache/flink/${name}/${name}-bin-scala_2.11.tgz";
4024 inherit sha256;
4125 };
4226
pkgs/top-level/all-packages.nix−2
@@ -16336,8 +16336,6 @@ with pkgs;
1633616336 fldigi = callPackage ../applications/audio/fldigi { };
1633716337
1633816338 flink = callPackage ../applications/networking/cluster/flink { };
16339− flink_1_3 = flink.override { version = "1.3"; };
16340− flink_1_4 = flink.override { version = "1.4"; };
1634116339 flink_1_5 = flink.override { version = "1.5"; };
1634216340
1634316341 fluidsynth = callPackage ../applications/audio/fluidsynth {