auto-editor: 26.2.0 -> 28.0.0
Diff: https://github.com/WyattBlue/auto-editor/compare/refs/tags/26.2.0...refs/tags/28.0.0 Changelog: https://github.com/WyattBlue/auto-editor/releases/tag/28.0.0
This commit is contained in:
@@ -2,40 +2,30 @@
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
replaceVars,
|
||||
yt-dlp,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "auto-editor";
|
||||
version = "26.2.0";
|
||||
version = "28.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "WyattBlue";
|
||||
repo = "auto-editor";
|
||||
tag = version;
|
||||
hash = "sha256-BYpt/EelCChhphfuTcqI/VIVis6dnt0J4FcNhWeiiyY=";
|
||||
hash = "sha256-9U3hDVtSuOdiGnEsKs0InV9v0UrlI3qKaBqfCtVTD0E=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(replaceVars ./set-exe-paths.patch {
|
||||
yt_dlp = lib.getExe yt-dlp;
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# pyav is a fork of av, but has since mostly been un-forked
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail '"pyav==14.*"' '"av"'
|
||||
substituteInPlace auto_editor/__main__.py \
|
||||
--replace-fail '"yt-dlp"' '"${lib.getExe yt-dlp}"'
|
||||
'';
|
||||
|
||||
build-system = with python3Packages; [
|
||||
setuptools
|
||||
];
|
||||
build-system = with python3Packages; [ setuptools ];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
av
|
||||
basswood-av
|
||||
numpy
|
||||
];
|
||||
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/auto_editor/utils/types.py b/auto_editor/utils/types.py
|
||||
index 931cc33..b0aecbc 100644
|
||||
--- a/auto_editor/utils/types.py
|
||||
+++ b/auto_editor/utils/types.py
|
||||
@@ -191,7 +191,7 @@ def resolution(val: str | None) -> tuple[int, int] | None:
|
||||
|
||||
@dataclass(slots=True)
|
||||
class Args:
|
||||
- yt_dlp_location: str = "yt-dlp"
|
||||
+ yt_dlp_location: str = "@yt_dlp@"
|
||||
download_format: str | None = None
|
||||
output_format: str | None = None
|
||||
yt_dlp_extras: str | None = None
|
||||
Reference in New Issue
Block a user