1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, poetry-core 5, pythonOlder 6, setuptools 7}: 8 9buildPythonPackage rec { 10 pname = "chispa"; 11 version = "0.9.4"; 12 format = "pyproject"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "MrPowers"; 18 repo = "chispa"; 19 rev = "refs/tags/v${version}"; 20 hash = "sha256-VF7k0u7QpoG3PXvU5M7jrM9pht6xeRUpYH9znMdLOxk="; 21 }; 22 23 nativeBuildInputs = [ 24 poetry-core 25 ]; 26 27 propagatedBuildInputs = [ 28 setuptools 29 ]; 30 31 # Tests require a spark installation 32 doCheck = false; 33 34 # pythonImportsCheck needs spark installation 35 36 meta = with lib; { 37 description = "PySpark test helper methods with beautiful error messages"; 38 homepage = "https://github.com/MrPowers/chispa"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ ratsclub ]; 41 }; 42}