1{
2 lib,
3 buildPythonPackage,
4 pyee,
5 fetchPypi,
6 setuptools-scm,
7}:
8
9buildPythonPackage rec {
10 pname = "python_ffmpeg";
11 version = "2.0.12";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "GayAr1oGSi9TwkWvGpCbLXZI6gRVANltO81Qe4jUPcc=";
17 };
18
19 propagatedBuildInputs = [ pyee ];
20
21 nativeBuildInputs = [ setuptools-scm ];
22 pythonImportsCheck = [ "ffmpeg" ];
23
24 meta = {
25 homepage = "https://github.com/jonghwanhyeon/python-ffmpeg";
26 description = "Python binding for FFmpeg which provides sync and async APIs";
27 license = lib.licenses.mit;
28 maintainers = with lib.maintainers; [ youhaveme9 ];
29 };
30}