Loading pkgs/development/python-modules/speechrecognition/default.nix +10 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ setuptools, soundfile, typing-extensions, flac, }: buildPythonPackage rec { Loading @@ -26,6 +27,15 @@ buildPythonPackage rec { hash = "sha256-icXZUg2lVLo8Z5t9ptDj67BjQLnEgrG8geYZ/lZeJt4="; }; postPatch = '' # Remove Bundled binaries rm speech_recognition/flac-* rm -r third-party substituteInPlace speech_recognition/audio.py \ --replace-fail 'shutil_which("flac")' '"${lib.getExe flac}"' ''; build-system = [ setuptools ]; dependencies = [ Loading Loading
pkgs/development/python-modules/speechrecognition/default.nix +10 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ setuptools, soundfile, typing-extensions, flac, }: buildPythonPackage rec { Loading @@ -26,6 +27,15 @@ buildPythonPackage rec { hash = "sha256-icXZUg2lVLo8Z5t9ptDj67BjQLnEgrG8geYZ/lZeJt4="; }; postPatch = '' # Remove Bundled binaries rm speech_recognition/flac-* rm -r third-party substituteInPlace speech_recognition/audio.py \ --replace-fail 'shutil_which("flac")' '"${lib.getExe flac}"' ''; build-system = [ setuptools ]; dependencies = [ Loading