diff options
author | Roshan Kumar <58213083+Roshaen@users.noreply.github.com> | 2024-07-17 13:51:42 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-17 10:21:42 +0200 |
commit | 16af52ed24b47300d1bfc840b796c3cfe19ac945 (patch) | |
tree | cfbd0de357553e3abdad007bae88f627bb42c607 | |
parent | 78bb273d303050620abf6b932853ea15f0120727 (diff) |
python312Packages.python-ffmpeg: init at 2.0.12 (#320185)
-rw-r--r-- | pkgs/development/python-modules/python-ffmpeg/default.nix | 30 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-ffmpeg/default.nix b/pkgs/development/python-modules/python-ffmpeg/default.nix new file mode 100644 index 0000000000000..12b734c37700f --- /dev/null +++ b/pkgs/development/python-modules/python-ffmpeg/default.nix @@ -0,0 +1,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 ]; + pythonImportCheck = [ "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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d876ee2929e5e..b9ae5de95e7db 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10306,6 +10306,8 @@ self: super: with self; { python-ecobee-api = callPackage ../development/python-modules/python-ecobee-api { }; + python-ffmpeg = callPackage ../development/python-modules/python-ffmpeg { }; + python-flirt = callPackage ../development/python-modules/python-flirt { }; python-fullykiosk = callPackage ../development/python-modules/python-fullykiosk { }; |