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

32 lines
597 B
Nix
Raw Normal View History

2018-07-21 11:00:37 +03:00
{ lib
, buildPythonPackage
, fetchPypi
, numpy
2018-10-08 23:59:49 +03:00
, ffmpeg_4
2018-07-21 11:00:37 +03:00
, pkgconfig
}:
buildPythonPackage rec {
pname = "av";
2020-06-06 09:46:58 +03:00
version = "8.0.2";
2018-07-21 11:00:37 +03:00
src = fetchPypi {
inherit pname version;
2020-06-06 09:46:58 +03:00
sha256 = "a3bba6bf68766b8a1a057f28869c7078cf0a1ec3207c7788c2ce8fe6f6bd8267";
2018-07-21 11:00:37 +03:00
};
checkInputs = [ numpy ];
2019-02-14 10:37:11 +03:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ffmpeg_4 ];
2018-07-21 11:00:37 +03:00
2018-10-08 23:59:49 +03:00
# Tests require downloading files from internet
2018-07-21 11:00:37 +03:00
doCheck = false;
meta = {
description = "Pythonic bindings for FFmpeg/Libav";
homepage = "https://github.com/mikeboers/PyAV/";
2018-07-21 11:00:37 +03:00
license = lib.licenses.bsd2;
};
2018-10-08 23:59:49 +03:00
}