Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 28 lines 659 B view raw
1{ buildPythonPackage, fetchPypi, stdenv, py4j }: 2 3buildPythonPackage rec { 4 pname = "pyspark"; 5 version = "2.3.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "0vlq07yqy6c7ayg401i0qynnliqz405bmw1r8alkck0m1s8kcd8b"; 10 }; 11 12 # pypandoc is broken with pandoc2, so we just lose docs. 13 postPatch = '' 14 sed -i "s/'pypandoc'//" setup.py 15 ''; 16 17 propagatedBuildInputs = [ py4j ]; 18 19 # Tests assume running spark... 20 doCheck = false; 21 22 meta = with stdenv.lib; { 23 description = "Apache Spark"; 24 homepage = https://github.com/apache/spark/tree/master/python; 25 license = licenses.asl20; 26 maintainers = [ maintainers.shlevy ]; 27 }; 28}