nixos-config/pkgs/auto-editor.nix

30 lines
749 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-10-24 04:00:18 +00:00
version = "22w39a";
doCheck = false;
src = fetchFromGitHub {
owner = "WyattBlue";
repo = pname;
rev = version;
2022-10-24 04:00:18 +00:00
sha256 = "sha256-qtdk1Rr0EhG8LqY5cBxsH6VKXT/f9SV6a1X2R3HZOzI=";
};
2022-08-31 04:41:41 +00:00
postPatch = ''
sed ./setup.py -i -E \
2022-09-17 14:21:52 +00:00
-e "/ae-ffmpeg/d"
2022-08-31 04:41:41 +00:00
'';
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";
2022-10-24 04:00:18 +00:00
homepage = "https://auto-editor.com";
license = licenses.unlicense;
};
}