mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
34 lines
615 B
Nix
34 lines
615 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, numpy
|
|
, ffmpeg_4
|
|
, libav
|
|
, pkgconfig
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "av";
|
|
version = "6.1.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "eebbb56eeae650b1fc551f94d51aee39b487bf4df73c39daea186c5d2950650f";
|
|
};
|
|
|
|
checkInputs = [ nose 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;
|
|
};
|
|
}
|