blob: 532ca1cae50341e187f52830eba3548787c7dde6 (
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
44
45
46
47
48
49
50
51
52
53
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
matplotlib,
numpy,
pandas,
scipy,
seaborn,
statsmodels,
pytestCheckHook,
seaborn-data,
}:
buildPythonPackage rec {
pname = "scikit-posthocs";
version = "0.11.4";
pyproject = true;
src = fetchFromGitHub {
owner = "maximtrp";
repo = "scikit-posthocs";
tag = "v${version}";
hash = "sha256-W1jm9mKJCwTPihZhtuCIM3HILT/nXLXbTjR+E2nwsug=";
};
build-system = [ setuptools ];
dependencies = [
matplotlib
numpy
pandas
scipy
seaborn
statsmodels
];
preCheck = ''
# tests require to write to home directory
export SEABORN_DATA=${seaborn-data.exercise}
'';
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "scikit_posthocs" ];
meta = {
description = "Multiple Pairwise Comparisons (Post Hoc) Tests in Python";
homepage = "https://github.com/maximtrp/scikit-posthocs";
changelog = "https://github.com/maximtrp/scikit-posthocs/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|