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