mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
30 lines
749 B
Nix
30 lines
749 B
Nix
{ stdenv, lib, ffmpeg, fetchFromGitHub, python310Packages }:
|
|
|
|
python310Packages.buildPythonApplication rec {
|
|
pname = "auto-editor";
|
|
version = "22w39a";
|
|
doCheck = false;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "WyattBlue";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-qtdk1Rr0EhG8LqY5cBxsH6VKXT/f9SV6a1X2R3HZOzI=";
|
|
};
|
|
|
|
postPatch = ''
|
|
sed ./setup.py -i -E \
|
|
-e "/ae-ffmpeg/d"
|
|
'';
|
|
|
|
propagatedBuildInputs = with python310Packages; [ numpy yt-dlp av pillow ];
|
|
runtimeDependencies = [ ffmpeg ];
|
|
|
|
meta = with lib; {
|
|
description =
|
|
"Command-line application for automating video and audio editing with a variety of methods";
|
|
homepage = "https://auto-editor.com";
|
|
license = licenses.unlicense;
|
|
};
|
|
}
|