2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, numpy
|
2020-06-18 07:06:33 +00:00
|
|
|
, ffmpeg
|
2020-04-24 23:36:52 +00:00
|
|
|
, pkgconfig
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "av";
|
|
|
|
version = "7.0.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "10qav9dryly9h6n8vypx5m334v2lh88fsvgfg0zjy4bxjslay4zv";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ numpy ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2020-06-18 07:06:33 +00:00
|
|
|
buildInputs = [ ffmpeg ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# Tests require downloading files from internet
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Pythonic bindings for FFmpeg/Libav";
|
|
|
|
homepage = "https://github.com/mikeboers/PyAV/";
|
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|