python312Packages.sklearn-compat: init at 0.1.3
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
scikit-learn,
|
||||
pandas,
|
||||
pytestCheckHook,
|
||||
pytest-cov,
|
||||
pytest-xdist,
|
||||
pytz,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sklearn-compat";
|
||||
version = "0.1.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sklearn-compat";
|
||||
repo = "sklearn-compat";
|
||||
tag = version;
|
||||
hash = "sha256-9Py5VKDej7xDMdWVujkS/ooxOkEcjPJNlBHkbe/rycE=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
scikit-learn
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pandas
|
||||
pytestCheckHook
|
||||
pytest-cov
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
@@ -16428,6 +16428,8 @@ self: super: with self; {
|
||||
|
||||
skl2onnx = callPackage ../development/python-modules/skl2onnx { };
|
||||
|
||||
sklearn-compat = callPackage ../development/python-modules/sklearn-compat { };
|
||||
|
||||
sklearn-deap = callPackage ../development/python-modules/sklearn-deap { };
|
||||
|
||||
skodaconnect = callPackage ../development/python-modules/skodaconnect { };
|
||||
|
||||
Reference in New Issue
Block a user