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

32 lines
607 B
Nix
Raw Normal View History

2018-07-21 09:00:37 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, nose
, pillow
, numpy
, ffmpeg_2
, git
, libav
, pkgconfig
}:
buildPythonPackage rec {
pname = "av";
2018-07-22 11:04:43 +01:00
version = "0.4.1";
2018-07-21 09:00:37 +01:00
src = fetchPypi {
inherit pname version;
2018-07-22 11:04:43 +01:00
sha256 = "bf9a8d113392c6a445f424e16f9e64ac53d1db1548731e6326763d555647c24f";
2018-07-21 09:00:37 +01:00
};
buildInputs = [ nose pillow numpy ffmpeg_2 git libav pkgconfig ];
# Because of https://github.com/mikeboers/PyAV/issues/152
doCheck = false;
meta = {
description = "Pythonic bindings for FFmpeg/Libav";
homepage = https://github.com/mikeboers/PyAV/;
license = lib.licenses.bsd2;
};
}