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

33 lines
580 B
Nix
Raw Normal View History

2018-07-21 09:00:37 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, nose
, pillow
, numpy
2018-10-08 21:59:49 +01:00
, ffmpeg_4
2018-07-21 09:00:37 +01:00
, git
, libav
, pkgconfig
}:
buildPythonPackage rec {
pname = "av";
2018-10-08 21:59:49 +01:00
version = "0.5.3";
2018-07-21 09:00:37 +01:00
src = fetchPypi {
inherit pname version;
2018-10-08 21:59:49 +01:00
sha256 = "0k5nbff8c2wxc8wnyn1qghndbd2rjck1y3552s63w41mccj1k1qr";
2018-07-21 09:00:37 +01:00
};
2018-10-08 21:59:49 +01:00
buildInputs = [ nose pillow numpy ffmpeg_4 git pkgconfig ];
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
}