about summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-ffmpeg/default.nix
blob: 3eba0ddb1d22da5c06be798890f75c3558447848 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  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 ];
  };
}