792b51d22f
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
27 lines
676 B
Nix
27 lines
676 B
Nix
{ buildPythonPackage, fetchFromGitHub, lib, poetry-core, pyspark }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "chispa";
|
|
version = "0.8.3";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "chispa";
|
|
owner = "MrPowers";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-1ePx8VbU8pMd5EsZhFp6qyMptlUxpoCvJfuDm9xXOdc=";
|
|
};
|
|
|
|
checkInputs = [ pyspark ];
|
|
|
|
nativeBuildInputs = [ poetry-core ];
|
|
|
|
pythonImportsCheck = [ "chispa" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/MrPowers/chispa";
|
|
description = "PySpark test helper methods with beautiful error messages";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ratsclub ];
|
|
};
|
|
}
|