depot/third_party/nixpkgs/pkgs/development/python-modules/python-ffmpeg/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

30 lines
650 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; [ roshaen ];
};
}