nixos-config/pkgs/auto-editor.nix

29 lines
737 B
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitHub, python310Packages }:
2022-06-06 13:55:18 +00:00
python310Packages.buildPythonApplication rec {
pname = "auto-editor";
2022-06-06 13:55:18 +00:00
version = "22w22a";
doCheck = false;
src = fetchFromGitHub {
owner = "WyattBlue";
repo = pname;
rev = version;
2022-06-06 13:55:18 +00:00
sha256 = "sha256-SSdiBLyijed4bRqI4Y4vJ4HetNTGQgDMnXmbLRNspL0=";
};
2022-06-06 13:55:18 +00:00
postPatch = ''
substituteInPlace ./setup.py --replace "pillow==9.1.1" "pillow==9.1.0"
'';
2022-03-28 00:18:15 +00:00
propagatedBuildInputs = with python310Packages;
2022-06-06 13:55:18 +00:00
[ numpy yt-dlp av pillow ];
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;
};
}