anchor.diff:      homepage         = "http://spark.apache.org";
       license          = stdenv.lib.licenses.asl20;
       platforms        = stdenv.lib.platforms.all;
  -    maintainers      = with maintainers; [ thoughtpolice offline ];
  +    maintainers      = with maintainers; [ thoughtpolice offline kamilchm ];
       repositories.git = git://git.apache.org/spark.git;
     };
   }
  
positive.code:     cat > $out/lib/${untarDir}/conf/spark-env.sh <<- EOF
      export JAVA_HOME="${jre}"
      export SPARK_HOME="$out/lib/${untarDir}"
      export PYSPARK_PYTHON="${pythonPackages.python}/bin/${pythonPackages.python.executable}"
      export PYTHONPATH="\$PYTHONPATH:$PYTHONPATH"
      ${optionalString RSupport
  
negative.code:   name = "spark-${version}";
  
    src = fetchzip {
      inherit sha256;
      url    = "mirror://apache/spark/${name}/${name}-bin-without-hadoop.tgz";
    };
  
    buildInputs = [ makeWrapper jre pythonPackages.python pythonPackages.numpy ]
      ++ optional RSupport R
      ++ optional mesosSupport mesos;
  
    untarDir = "${name}-bin-without-hadoop";
    installPhase = ''
      mkdir -p $out/{lib/${untarDir}/conf,bin,/share/java}
      mv * $out/lib/${untarDir}
  