nixpkgs/pkgs/development/python-modules/av/default.nix
2019-02-17 14:40:14 +01:00

34 lines
615 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
, numpy
, ffmpeg_4
, libav
, pkgconfig
}:
buildPythonPackage rec {
pname = "av";
version = "6.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "eebbb56eeae650b1fc551f94d51aee39b487bf4df73c39daea186c5d2950650f";
};
checkInputs = [ nose numpy ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ffmpeg_4 ];
# 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;
};
}