2018-07-21 10:00:37 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, pillow
|
|
|
|
, numpy
|
|
|
|
, ffmpeg_2
|
|
|
|
, git
|
|
|
|
, libav
|
|
|
|
, pkgconfig
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "av";
|
2018-07-22 12:04:43 +02:00
|
|
|
version = "0.4.1";
|
2018-07-21 10:00:37 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-22 12:04:43 +02:00
|
|
|
sha256 = "bf9a8d113392c6a445f424e16f9e64ac53d1db1548731e6326763d555647c24f";
|
2018-07-21 10:00:37 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose pillow numpy ffmpeg_2 git libav pkgconfig ];
|
|
|
|
|
|
|
|
# Because of https://github.com/mikeboers/PyAV/issues/152
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Pythonic bindings for FFmpeg/Libav";
|
|
|
|
homepage = https://github.com/mikeboers/PyAV/;
|
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|