python312Packages.sklearn-compat: init at 0.1.3

This commit is contained in:
Philip Wilk
2025-05-11 04:36:20 +01:00
parent a20ec32402
commit f3ce83719f
2 changed files with 54 additions and 0 deletions
@@ -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 ];
};
}
+2
View File
@@ -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 { };