18 buildPythonPackage rec {
23 disabled = pythonOlder "3.9";
25 src = fetchFromGitHub {
28 rev = "refs/tags/v${version}";
29 hash = "sha256-2uX5sGVdTnZEbl0VXI8E7h1pQYQVbpQeUKUchCZpgg4=";
32 build-system = [ setuptools ];
47 pytestFlagsArray = [ "skops" ];
50 "test_base_case_works_as_expected"
54 # try to download data from Huggingface Hub:
55 "skops/hub_utils/tests"
57 # minor output formatting issue
58 "skops/card/_model_card.py"
60 ++ lib.optionals stdenv.hostPlatform.isDarwin [
62 "skops/io/tests/test_persist.py"
65 pythonImportsCheck = [ "skops" ];
68 description = "Library for saving/loading, sharing, and deploying scikit-learn based models";
69 mainProgram = "skops";
70 homepage = "https://skops.readthedocs.io/en/stable";
71 changelog = "https://github.com/skops-dev/skops/releases/tag/v${version}";
72 license = lib.licenses.mit;
73 maintainers = [ lib.maintainers.bcdarwin ];