blob: b6e48ea15149480c7c4d16089f2d575706a27987 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pythonOlder,
setuptools,
prettytable,
}:
buildPythonPackage rec {
pname = "chispa";
version = "0.11.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "MrPowers";
repo = "chispa";
tag = "v${version}";
hash = "sha256-P9b/HabHckq6FWAgCYB/YLQqtu8M6NB536p4tByNF5Y=";
};
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 ];
};
}
|