2024-07-27 06:49:29 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
pyee,
|
|
|
|
fetchPypi,
|
|
|
|
setuptools-scm,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python_ffmpeg";
|
|
|
|
version = "2.0.12";
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "GayAr1oGSi9TwkWvGpCbLXZI6gRVANltO81Qe4jUPcc=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyee ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
2024-09-19 14:19:46 +00:00
|
|
|
pythonImportsCheck = [ "ffmpeg" ];
|
2024-07-27 06:49:29 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/jonghwanhyeon/python-ffmpeg";
|
|
|
|
description = "Python binding for FFmpeg which provides sync and async APIs";
|
|
|
|
license = lib.licenses.mit;
|
2024-09-26 11:04:55 +00:00
|
|
|
maintainers = with lib.maintainers; [ youhaveme9 ];
|
2024-07-27 06:49:29 +00:00
|
|
|
};
|
|
|
|
}
|