blob: 1aba1d935c4e99c98d25bb267ca0f27a1e1e0d07 (
plain) (
blame)
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
54
55
56
57
58
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, wheel
, matplotlib
, numpy
, pandas
, scipy
, seaborn
, statsmodels
, pytestCheckHook
, seaborn-data
}:
buildPythonPackage rec {
pname = "scikit-posthocs";
version = "0.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "maximtrp";
repo = "scikit-posthocs";
rev = "refs/tags/v${version}";
hash = "sha256-sRop5DKakrZEBswzTvumn68wKqU15zM5aCLfZ/PdsFg=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
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 = with lib; {
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/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ mbalatsko ];
};
}
|