10 buildPythonPackage rec {
11 pname = "databricks-connect";
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
18 inherit pname version;
19 hash = "sha256-kAUBA9V1st5UxXihrXQjyk+1ahsum/VEcNfDK1he/Pc=";
24 propagatedBuildInputs = [ py4j six jdk8 ];
26 # requires network access
30 substituteInPlace setup.py \
31 --replace "py4j==0.10.9" "py4j"
35 substituteInPlace "$out/bin/find-spark-home" \
36 --replace find_spark_home.py .find_spark_home.py-wrapped
39 pythonImportsCheck = [ "pyspark" "six" "py4j" ];
42 description = "Client for connecting to remote Databricks clusters";
43 homepage = "https://pypi.org/project/databricks-connect";
44 sourceProvenance = with sourceTypes; [ binaryBytecode ];
45 license = licenses.databricks;
46 maintainers = with maintainers; [ kfollesdal ];