2018-07-21 10:00:37 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, numpy
|
2018-10-08 22:59:49 +02:00
|
|
|
, ffmpeg_4
|
2018-07-21 10:00:37 +02:00
|
|
|
, pkgconfig
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "av";
|
2019-05-12 13:07:18 +02:00
|
|
|
version = "6.2.0";
|
2018-07-21 10:00:37 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-12 13:07:18 +02:00
|
|
|
sha256 = "1wm33qajxcpl9rn7zfb2pwwqn87idb7ic7h5zwy2hgbpjnh3vc2g";
|
2018-07-21 10:00:37 +02:00
|
|
|
};
|
|
|
|
|
2019-05-12 13:07:18 +02:00
|
|
|
checkInputs = [ numpy ];
|
2019-02-14 08:37:11 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ ffmpeg_4 ];
|
2018-07-21 10:00:37 +02:00
|
|
|
|
2018-10-08 22:59:49 +02:00
|
|
|
# Tests require downloading files from internet
|
2018-07-21 10:00:37 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Pythonic bindings for FFmpeg/Libav";
|
|
|
|
homepage = https://github.com/mikeboers/PyAV/;
|
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
};
|
2018-10-08 22:59:49 +02:00
|
|
|
}
|