Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 615 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, nose 5, numpy 6, ffmpeg_4 7, libav 8, pkgconfig 9}: 10 11buildPythonPackage rec { 12 pname = "av"; 13 version = "6.1.2"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "eebbb56eeae650b1fc551f94d51aee39b487bf4df73c39daea186c5d2950650f"; 18 }; 19 20 checkInputs = [ nose numpy ]; 21 22 nativeBuildInputs = [ pkgconfig ]; 23 buildInputs = [ ffmpeg_4 ]; 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}