depot/third_party/nixpkgs/pkgs/development/python-modules/python-ffmpeg/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

30 lines
653 B
Nix

{
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 ];
};
}