mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 02:23:54 +00:00
44 lines
853 B
Nix
44 lines
853 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
poetry-core,
|
|
pythonOlder,
|
|
setuptools,
|
|
prettytable,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "chispa";
|
|
version = "0.10.1";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MrPowers";
|
|
repo = "chispa";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-WPtn8YGlj67MEy2onxoU5SctQ7NcvTImaU0VgMoz2B4=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
setuptools
|
|
prettytable
|
|
];
|
|
|
|
# Tests require a spark installation
|
|
doCheck = false;
|
|
|
|
# pythonImportsCheck needs spark installation
|
|
|
|
meta = with lib; {
|
|
description = "PySpark test helper methods with beautiful error messages";
|
|
homepage = "https://github.com/MrPowers/chispa";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ratsclub ];
|
|
};
|
|
}
|