Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 655 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, numpy 6, ffmpeg 7, pkgconfig 8}: 9 10buildPythonPackage rec { 11 pname = "av"; 12 version = "8.0.2"; 13 disabled = isPy27; # setup.py no longer compatible 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "a3bba6bf68766b8a1a057f28869c7078cf0a1ec3207c7788c2ce8fe6f6bd8267"; 18 }; 19 20 checkInputs = [ numpy ]; 21 22 nativeBuildInputs = [ pkgconfig ]; 23 buildInputs = [ ffmpeg ]; 24 25 # Tests require downloading files from internet 26 doCheck = false; 27 28 meta = { 29 description = "Pythonic bindings for FFmpeg/Libav"; 30 homepage = "https://github.com/mikeboers/PyAV/"; 31 license = lib.licenses.bsd2; 32 }; 33}