7 buildPythonPackage rec {
8 pname = "get-video-properties";
10 format = "setuptools";
12 src = fetchFromGitHub {
14 repo = "python-get-video-properties";
15 rev = "944c68addbc27e320ebc6313d3f016fb69b5e880";
16 sha256 = "18aslx7amaiw31bl9gambmvzry7hp5nqab6kgp8sg3mz9ih4lzal";
23 substituteInPlace videoprops/__init__.py \
24 --replace "which('ffprobe')" "'${ffmpeg-headless}/bin/ffprobe'"
26 # unused and vulnerable to various CVEs
27 rm -r videoprops/binary_dependencies
30 pythonImportsCheck = [ "videoprops" ];
33 description = "Get video properties";
34 homepage = "https://github.com/mvasilkov/python-get-video-properties";
35 license = licenses.mit;
36 maintainers = with maintainers; [ globin ];