blob: 530f25adb9d9ac8c86184a15e95e79745c85be4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ stdenv, callPackage, buildEnv, lowPrio, ffmpeg, imagemagick }:
let
voidrice = callPackage ../voidrice.nix { };
in
stdenv.mkDerivation {
name = "slider";
src = voidrice
buildPhase = ''
sed -i 's:ffmpeg:${ffmpeg}/bin/ffmpeg:g' .local/bin/slider
sed -i 's:convert:${imagemagick}/bin/convert:g' .local/bin/slider
'';
installPhase = ''
mkdir -p $out/bin
cp .local/bin/slider $out/bin/slider
'';
meta = {
description = "Give a file with images and timecodes and creates a video slideshow of them.";
homepage = "https://github.com/LukeSmithXYZ/voidrice";
};
}
|