spark: 2.4.3 -> 2.4.4; remove 1.6.3 (EOL); refactoring

This commit is contained in:
Christine Koppelt 2019-10-02 22:55:30 +02:00 committed by Austin Seipp
parent 2d272e93c8
commit 036ed5de72
2 changed files with 3 additions and 12 deletions

View File

@ -1,26 +1,18 @@
{ stdenv, fetchzip, makeWrapper, jre, pythonPackages, coreutils, hadoop
, RSupport? true, R
, mesosSupport ? true, mesos
, version
}:
let
sha256 = {
"1.6.3" = "142hw73wf20d846l83ydx0yg7qj5qxywm4h7qrhwnd7lsy2sbnjf";
"2.4.3" = "1dvvr1q3dz961bl7qigxngrp4ssrbll3g1s6nkra6gyr83pis96c";
}.${version};
in
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "spark";
inherit version;
version = "2.4.4";
src = fetchzip {
inherit sha256;
url = "mirror://apache/spark/${pname}-${version}/${pname}-${version}-bin-without-hadoop.tgz";
sha256 = "1a9w5k0207fysgpxx6db3a00fs5hdc2ncx99x4ccy2s0v5ndc66g";
};
buildInputs = [ makeWrapper jre pythonPackages.python pythonPackages.numpy ]

View File

@ -9012,8 +9012,7 @@ in
self = pkgsi686Linux.callPackage ../development/interpreters/self { };
spark = spark_24;
spark_24 = callPackage ../applications/networking/cluster/spark { version = "2.4.3"; };
spark = callPackage ../applications/networking/cluster/spark { };
spidermonkey_1_8_5 = callPackage ../development/interpreters/spidermonkey/1.8.5.nix { };
spidermonkey_38 = callPackage ../development/interpreters/spidermonkey/38.nix ({