22 lines
579 B
Nix
22 lines
579 B
Nix
{ stdenv, pkgs, ... }:
|
|
|
|
let
|
|
transcode-animated-video = with pkgs; writeShellApplication {
|
|
name = "transcode-animated-video.sh";
|
|
runtimeInputs = [ ffmpeg ];
|
|
text = builtins.readFile ./transcode-animated-video.sh;
|
|
};
|
|
|
|
transcode-organic-video = with pkgs; writeShellApplication {
|
|
name = "transcode-organic-video.sh";
|
|
runtimeInputs = [ ffmpeg ];
|
|
text = builtins.readFile ./transcode-organic-video.sh;
|
|
};
|
|
|
|
in {
|
|
environment.systemPackages = [
|
|
transcode-animated-video
|
|
transcode-organic-video
|
|
];
|
|
}
|