nixpkgs/pkgs/development/python-modules/av/default.nix

34 lines
615 B
Nix
Raw Normal View History

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