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

33 lines
592 B
Nix
Raw Normal View History

2018-07-21 10:00:37 +02:00
{ lib
, buildPythonPackage
, fetchPypi
, nose
, pillow
, numpy
2018-10-08 22:59:49 +02:00
, ffmpeg_4
2018-07-21 10:00:37 +02:00
, git
, libav
, pkgconfig
}:
buildPythonPackage rec {
pname = "av";
2018-11-04 11:34:53 +01:00
version = "6.0.0";
2018-07-21 10:00:37 +02:00
src = fetchPypi {
inherit pname version;
2018-11-04 11:34:53 +01:00
sha256 = "9037d73d7a812c3dc75d9cc27d03215483c9e782eae63a07142c0725c6bd2df0";
2018-07-21 10:00:37 +02:00
};
2018-10-08 22:59:49 +02:00
buildInputs = [ nose pillow numpy ffmpeg_4 git pkgconfig ];
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
}