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