Something went wrong. Try again.
lol
Something went wrong. Try again.
1.6 kB · 83 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384{ lib, buildPythonPackage, colorlog, dataclasses-json, fetchPypi, nltk-data, numpy, pandas, poetry-core, pydantic, pydateinfer, python-dateutil, scipy, symlinkJoin, type-infer,}:let testNltkData = symlinkJoin { name = "nltk-test-data"; paths = [ nltk-data.punkt nltk-data.stopwords ]; };inbuildPythonPackage rec { pname = "dataprep-ml"; version = "25.2.3.0"; pyproject = true;
# using PyPI as github repo does not contain tags or release branches src = fetchPypi { pname = "dataprep_ml"; inherit version; hash = "sha256-pULqrPTxGtBLRsKCpSsP3a/QA0O5eXOP6BSI5TbCQWY="; };
pythonRelaxDeps = [ "pydantic" "numpy" ];
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ colorlog dataclasses-json numpy pandas pydantic pydateinfer python-dateutil scipy type-infer ];
# PyPI tarball has no tests doCheck = false;
# Package import requires NLTK data to be downloaded # It is the only way to set NLTK_DATA environment variable, # so that it is available in pythonImportsCheck env.NLTK_DATA = testNltkData; pythonImportsCheck = [ "dataprep_ml" "dataprep_ml.cleaners" "dataprep_ml.helpers" "dataprep_ml.imputers" "dataprep_ml.insights" "dataprep_ml.recommenders" "dataprep_ml.splitters" ];
meta = { description = "Data utilities for Machine Learning pipelines"; homepage = "https://github.com/mindsdb/dataprep_ml"; license = lib.licenses.gpl3Only; maintainers = [ ]; };}