Loading pkgs/development/python-modules/datasets/default.nix +9 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ , buildPythonPackage , dill , fetchFromGitHub , fetchpatch , fsspec , huggingface-hub , importlib-metadata Loading Loading @@ -32,6 +33,14 @@ buildPythonPackage rec { hash = "sha256-5j8HT/DzHH8xssv97g/9kpSgtpaY6daWOGwjasD1psg="; }; patches = [ (fetchpatch { # Backport support for dill<3.7 url = "https://github.com/huggingface/datasets/pull/5166.patch"; hash = "sha256-QigpXKHi2B60M/iIWSqvBU9hW5vBu6IHGML22aCMevo="; }) ]; postPatch = '' substituteInPlace setup.py \ --replace "responses<0.19" "responses" Loading Loading
pkgs/development/python-modules/datasets/default.nix +9 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ , buildPythonPackage , dill , fetchFromGitHub , fetchpatch , fsspec , huggingface-hub , importlib-metadata Loading Loading @@ -32,6 +33,14 @@ buildPythonPackage rec { hash = "sha256-5j8HT/DzHH8xssv97g/9kpSgtpaY6daWOGwjasD1psg="; }; patches = [ (fetchpatch { # Backport support for dill<3.7 url = "https://github.com/huggingface/datasets/pull/5166.patch"; hash = "sha256-QigpXKHi2B60M/iIWSqvBU9hW5vBu6IHGML22aCMevo="; }) ]; postPatch = '' substituteInPlace setup.py \ --replace "responses<0.19" "responses" Loading