nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 27 lines 676 B view raw
1{ buildPythonPackage, fetchFromGitHub, lib, poetry-core, pyspark }: 2 3buildPythonPackage rec { 4 pname = "chispa"; 5 version = "0.8.3"; 6 format = "pyproject"; 7 8 src = fetchFromGitHub { 9 repo = "chispa"; 10 owner = "MrPowers"; 11 rev = "v${version}"; 12 sha256 = "sha256-1ePx8VbU8pMd5EsZhFp6qyMptlUxpoCvJfuDm9xXOdc="; 13 }; 14 15 checkInputs = [ pyspark ]; 16 17 nativeBuildInputs = [ poetry-core ]; 18 19 pythonImportsCheck = [ "chispa" ]; 20 21 meta = with lib; { 22 homepage = "https://github.com/MrPowers/chispa"; 23 description = "PySpark test helper methods with beautiful error messages"; 24 license = licenses.mit; 25 maintainers = with maintainers; [ ratsclub ]; 26 }; 27}