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

34 lines
657 B
Nix
Raw Normal View History

2018-07-21 08:00:37 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
2018-07-21 08:00:37 +00:00
, numpy
2020-06-13 02:31:01 +00:00
, ffmpeg
, pkg-config
2018-07-21 08:00:37 +00:00
}:
buildPythonPackage rec {
pname = "av";
2021-01-28 01:37:06 +00:00
version = "8.0.3";
disabled = isPy27; # setup.py no longer compatible
2018-07-21 08:00:37 +00:00
src = fetchPypi {
inherit pname version;
2021-01-28 01:37:06 +00:00
sha256 = "521814309c91d526b6b5c9517018aef2dd12bc3d86351037db69aa67730692b8";
2018-07-21 08:00:37 +00:00
};
checkInputs = [ numpy ];
2019-02-14 07:37:11 +00:00
nativeBuildInputs = [ pkg-config ];
2020-06-13 02:31:01 +00:00
buildInputs = [ ffmpeg ];
2018-07-21 08:00:37 +00:00
2018-10-08 20:59:49 +00:00
# Tests require downloading files from internet
2018-07-21 08:00:37 +00:00
doCheck = false;
meta = {
description = "Pythonic bindings for FFmpeg/Libav";
homepage = "https://github.com/mikeboers/PyAV/";
2018-07-21 08:00:37 +00:00
license = lib.licenses.bsd2;
};
2018-10-08 20:59:49 +00:00
}