nixos-config/pkgs/auto-editor.nix

30 lines
760 B
Nix
Raw Normal View History

2022-08-31 04:41:41 +00:00
{ stdenv, lib, ffmpeg, fetchFromGitHub, python310Packages }:
2022-06-06 13:55:18 +00:00
python310Packages.buildPythonApplication rec {
pname = "auto-editor";
2022-08-31 04:41:41 +00:00
version = "22w32a";
doCheck = false;
src = fetchFromGitHub {
owner = "WyattBlue";
repo = pname;
rev = version;
2022-08-31 04:41:41 +00:00
sha256 = "sha256-VbEr3/8PmV9mShoyv2hsc0rX8RUM39lgVk5HGe5DKYY=";
};
2022-08-31 04:41:41 +00:00
postPatch = ''
sed ./setup.py -i -E \
-e "/ae-ffmpeg==1.0.0/d"
'';
propagatedBuildInputs = with python310Packages; [ numpy yt-dlp av pillow ];
2022-08-31 04:41:41 +00:00
runtimeDependencies = [ ffmpeg ];
meta = with lib; {
2022-03-28 00:18:15 +00:00
description =
"Command-line application for automating video and audio editing with a variety of methods";
homepage = "https://auto-editor.com/cli";
license = licenses.unlicense;
};
}