Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 57 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, jdk8, buildPythonPackage, fetchPypi, setuptools, six, py4j, pythonOlder,}:
buildPythonPackage rec { pname = "databricks-connect"; version = "11.3.40"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-rSuW/6fSro1pAxDj2tZ+EYvO0zf0yCWXNaS9Ls7xJfw="; };
sourceRoot = ".";
build-system = [ setuptools ];
dependencies = [ py4j six jdk8 ];
# requires network access doCheck = false;
pythonRelaxDeps = [ "py4j" ];
preFixup = '' substituteInPlace "$out/bin/find-spark-home" \ --replace-fail find_spark_home.py .find_spark_home.py-wrapped '';
pythonImportsCheck = [ "pyspark" "six" "py4j" ];
meta = with lib; { description = "Client for connecting to remote Databricks clusters"; homepage = "https://pypi.org/project/databricks-connect"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.databricks; maintainers = with maintainers; [ kfollesdal ]; };}