blob: 59da0f123eb999b73d38ee15d9b5b9220c536469 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
scikit-learn,
pandas,
pytestCheckHook,
pytest-cov-stub,
pytest-xdist,
pytz,
}:
buildPythonPackage rec {
pname = "sklearn-compat";
version = "0.1.5";
pyproject = true;
src = fetchFromGitHub {
owner = "sklearn-compat";
repo = "sklearn-compat";
tag = version;
hash = "sha256-7YgNXYm/uMPRRZ1ApHQ8PPyeNBURuwHao5GSXJFCYZ0=";
};
build-system = [
hatchling
];
dependencies = [
scikit-learn
];
nativeCheckInputs = [
pandas
pytestCheckHook
pytest-cov-stub
pytest-xdist
pytz
];
pythonImportsCheck = [
"sklearn_compat"
];
meta = {
description = "Ease multi-version support for scikit-learn compatible library";
homepage = "https://github.com/sklearn-compat/sklearn-compat";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ philipwilk ];
};
}
|