depot/third_party/nixpkgs/pkgs/development/python-modules/chispa/default.nix
Default email 792b51d22f Project import generated by Copybara.
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
2022-02-20 05:27:41 +00:00

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 ];
};
}