17 buildPythonPackage rec {
21 src = fetchFromGitHub {
22 owner = "huggingface";
25 hash = "sha256-is8TS84varARWyfeDTbQH0pcYFTk0PcEyK183emB4GE=";
28 propagatedBuildInputs = [
43 substituteInPlace setup.py \
44 --replace '"tqdm>=4.27,<4.50.0"' '"tqdm>=4.27"' \
45 --replace "huggingface_hub==0.0.2" "huggingface_hub>=0.0.2"
48 # Tests require pervasive internet access.
51 # Module import will attempt to create a cache directory.
52 postFixup = "export HF_MODULES_CACHE=$TMPDIR";
54 pythonImportsCheck = [ "datasets" ];
57 homepage = "https://github.com/huggingface/datasets";
58 description = "Fast, efficient, open-access datasets and evaluation metrics for natural language processing";
59 changelog = "https://github.com/huggingface/datasets/releases/tag/${version}";
60 license = licenses.asl20;
61 platforms = platforms.unix;
62 maintainers = with maintainers; [ danieldk ];