Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940{ lib, buildPythonPackage, fetchFromGitHub, ffmpeg-headless,}:
buildPythonPackage { pname = "get-video-properties"; version = "0.1.1"; format = "setuptools";
src = fetchFromGitHub { owner = "mvasilkov"; repo = "python-get-video-properties"; rev = "944c68addbc27e320ebc6313d3f016fb69b5e880"; hash = "sha256-VH1KYEy/jqfRfdMshW258Pj8d11VvURXGDyqqk6nWqE="; };
# no tests doCheck = false;
postPatch = '' substituteInPlace videoprops/__init__.py \ --replace "which('ffprobe')" "'${ffmpeg-headless}/bin/ffprobe'"
# unused and vulnerable to various CVEs rm -r videoprops/binary_dependencies '';
pythonImportsCheck = [ "videoprops" ];
meta = { description = "Get video properties"; homepage = "https://github.com/mvasilkov/python-get-video-properties"; license = lib.licenses.mit; maintainers = [ ]; };}