depot/third_party/nixpkgs/pkgs/development/python-modules/python-ffmpeg/default.nix

31 lines
653 B
Nix
Raw Normal View History

{
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 ];
pythonImportsCheck = [ "ffmpeg" ];
meta = {
homepage = "https://github.com/jonghwanhyeon/python-ffmpeg";
description = "Python binding for FFmpeg which provides sync and async APIs";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ youhaveme9 ];
};
}