11 buildPythonPackage rec {
14 format = "setuptools";
16 disabled = pythonOlder "3.7";
19 inherit pname version;
20 hash = "sha256-1Bqbdr0qyjcKYQDQdcAp4iukTFlAknh36UNaOpxWZVg=";
23 # pypandoc is broken with pandoc2, so we just lose docs.
25 sed -i "s/'pypandoc'//" setup.py
27 substituteInPlace setup.py \
28 --replace py4j== 'py4j>='
31 propagatedBuildInputs = [
35 passthru.optional-dependencies = {
49 # Tests assume running spark instance
52 pythonImportsCheck = [
57 description = "Python bindings for Apache Spark";
58 homepage = "https://github.com/apache/spark/tree/master/python";
59 sourceProvenance = with sourceTypes; [
63 license = licenses.asl20;
64 maintainers = with maintainers; [ shlevy ];