blob: 85c5c05f4eae3eb4a774b6265e49b20c24d43fa7 (
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
59
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
isPy27,
setuptools,
pytestCheckHook,
scipy,
numpy,
scikit-learn,
pandas,
matplotlib,
joblib,
}:
buildPythonPackage rec {
pname = "mlxtend";
version = "0.23.1";
pyproject = true;
disabled = isPy27;
src = fetchFromGitHub {
owner = "rasbt";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-FlP6UqX/Ejk9c3Enm0EJ0xqy7iOhDlFqjWWxd4VIczQ=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
scipy
numpy
scikit-learn
pandas
matplotlib
joblib
];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "-sv" ];
disabledTestPaths = [
# image tests download files over the network
"mlxtend/image"
];
meta = with lib; {
description = "Library of Python tools and extensions for data science";
homepage = "https://github.com/rasbt/mlxtend";
license = licenses.bsd3;
maintainers = with maintainers; [ evax ];
platforms = platforms.unix;
# incompatible with nixpkgs scikit-learn version
broken = true;
};
}
|