This repo is now a flake!
This commit is contained in:
25
package.nix
Normal file
25
package.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ ffmpeg
|
||||
, symlinkJoin
|
||||
, writeShellApplication
|
||||
}:
|
||||
|
||||
let
|
||||
transcode-animated-video = writeShellApplication {
|
||||
name = "transcode-animated-video";
|
||||
runtimeInputs = [ ffmpeg ];
|
||||
text = builtins.readFile ./transcode-animated-video.sh;
|
||||
};
|
||||
|
||||
transcode-organic-video = writeShellApplication {
|
||||
name = "transcode-organic-video";
|
||||
runtimeInputs = [ ffmpeg ];
|
||||
text = builtins.readFile ./transcode-organic-video.sh;
|
||||
};
|
||||
in
|
||||
symlinkJoin {
|
||||
name = "transcode-video";
|
||||
paths = [
|
||||
transcode-animated-video
|
||||
transcode-organic-video
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user