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