about summary refs log tree commit diff
path: root/pkgs/larbs-scripts/slider.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/larbs-scripts/slider.nix')
-rw-r--r--pkgs/larbs-scripts/slider.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/larbs-scripts/slider.nix b/pkgs/larbs-scripts/slider.nix
new file mode 100644
index 0000000..7f38820
--- /dev/null
+++ b/pkgs/larbs-scripts/slider.nix
@@ -0,0 +1,19 @@
+{ stdenv, callPackage, buildEnv, ffmpeg, imagemagick }:
+let
+  voidrice = callPackage ../voidrice.nix { };
+in
+  buildEnv {
+    name = "slider";
+    paths = [
+      ffmpeg
+      imagemagick
+    ];
+    postBuild = ''
+      cp  ${voidrice}/.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";
+    };
+  }