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

34 lines
655 B
Nix
Raw Normal View History

2018-07-21 10:00:37 +02:00
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
2018-07-21 10:00:37 +02:00
, numpy
2020-06-13 04:31:01 +02:00
, ffmpeg
2018-07-21 10:00:37 +02:00
, pkgconfig
}:
buildPythonPackage rec {
pname = "av";
2020-06-06 08:46:58 +02:00
version = "8.0.2";
disabled = isPy27; # setup.py no longer compatible
2018-07-21 10:00:37 +02:00
src = fetchPypi {
inherit pname version;
2020-06-06 08:46:58 +02:00
sha256 = "a3bba6bf68766b8a1a057f28869c7078cf0a1ec3207c7788c2ce8fe6f6bd8267";
2018-07-21 10:00:37 +02:00
};
checkInputs = [ numpy ];
2019-02-14 08:37:11 +01:00
nativeBuildInputs = [ pkgconfig ];
2020-06-13 04:31:01 +02:00
buildInputs = [ ffmpeg ];
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/";
2018-07-21 10:00:37 +02:00
license = lib.licenses.bsd2;
};
2018-10-08 22:59:49 +02:00
}