lol

Merge pull request #257947 from mweinelt/videoprops-purge-binaries

python310Packages.get-video-properties: remove vulnerable binaries

authored by

Martin Weinelt and committed by
GitHub
dbc3a520 336d12bc

+5 -2
+5 -2
pkgs/development/python-modules/get-video-properties/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , ffmpeg 4 + , ffmpeg-headless 5 5 }: 6 6 7 7 buildPythonPackage rec { ··· 20 20 21 21 postPatch = '' 22 22 substituteInPlace videoprops/__init__.py \ 23 - --replace "which('ffprobe')" "'${ffmpeg}/bin/ffprobe'" 23 + --replace "which('ffprobe')" "'${ffmpeg-headless}/bin/ffprobe'" 24 + 25 + # unused and vulnerable to various CVEs 26 + rm -r videoprops/binary_dependencies 24 27 ''; 25 28 26 29 pythonImportsCheck = [ "videoprops" ];