mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-25 18:19:00 +00:00
auto-editor: init at 22w12a
This is largely untested with the other functions so beware... I've yet to use this tool in its fullest potential.
This commit is contained in:
parent
9bd23c2235
commit
8fdf77f6af
45
pkgs/auto-editor.nix
Normal file
45
pkgs/auto-editor.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ stdenv, lib, fetchFromGitHub, python310Packages }:
|
||||
|
||||
let
|
||||
pillow = python310Packages.pillow.overrideAttrs (super: rec {
|
||||
version = "9.0.1";
|
||||
src = python310Packages.fetchPypi {
|
||||
inherit version;
|
||||
pname = super.pname;
|
||||
sha256 = "sha256-bIvII4p9/a96dfXsWmY/QXP4w2flo5+H5yBJXh7tdfo=";
|
||||
};
|
||||
});
|
||||
|
||||
av = python310Packages.av.overrideAttrs (super: rec {
|
||||
version = "9.0.1";
|
||||
src = python310Packages.fetchPypi {
|
||||
inherit version;
|
||||
pname = super.pname;
|
||||
sha256 = "sha256-IBbGImSg0Ars6w9Ati35+el2Bnyl86m9v1Mv5exTQZ8=";
|
||||
};
|
||||
buildInputs = super.buildInputs ++ [ python310Packages.cython ];
|
||||
});
|
||||
in
|
||||
python310Packages.buildPythonApplication rec {
|
||||
pname = "auto-editor";
|
||||
version = "22w12a";
|
||||
doCheck = false;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "WyattBlue";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-mtVL/X6mh+0Paa6yuth9DGbqewsSBopV5/VXoC0DN4M=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python310Packages; [
|
||||
numpy
|
||||
yt-dlp
|
||||
] ++ [ av pillow ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command-line application for automating video and audio editing with a variety of methods";
|
||||
homepage = "https://auto-editor.com/cli";
|
||||
license = licenses.unlicense;
|
||||
};
|
||||
}
|
@ -6,6 +6,7 @@ let
|
||||
packages = self:
|
||||
let callPackage = newScope self;
|
||||
in {
|
||||
auto-editor = callPackage ./auto-editor.nix { };
|
||||
blueprint-compiler = callPackage ./blueprint-compiler.nix { };
|
||||
butler = callPackage ./butler.nix { };
|
||||
clidle = callPackage ./clidle.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user