depot/third_party/nixpkgs/pkgs/development/python-modules/av/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
585 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, numpy
, ffmpeg_4
, pkgconfig
}:
buildPythonPackage rec {
pname = "av";
version = "7.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "10qav9dryly9h6n8vypx5m334v2lh88fsvgfg0zjy4bxjslay4zv";
};
checkInputs = [ 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;
};
}